-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (32 loc) · 1.01 KB
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Build
on: [push]
jobs:
build:
strategy:
matrix:
os: [windows-2022, macos-14, ubuntu-22.04]
addrsize: ["64"]
runs-on: ${{ matrix.os }}
steps:
- name: Setup Chocolatey Packages
if: ${{ runner.os == 'Windows' }}
shell: pwsh
run: |
choco install -y nasm jom
echo "C:\Program Files\NASM" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "C:\ProgramData\chocolatey\lib\jom\tools" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- uses: AlchemyViewer/action-autobuild@v4
with:
addrsize: ${{ matrix.addrsize }}
build-variables-repo: alchemyviewer/build-variables
build-variables-ref: alchemy
apt-packages: ninja-build
brew-packages: ninja
release:
needs: build
runs-on: [ubuntu-latest]
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: alchemyviewer/action-autobuild-release@v4
with:
public: true