This repository was archived by the owner on Apr 28, 2026. It is now read-only.
Change build runner from Ubuntu to self-hosted Debian 11 #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build | |
| on: | |
| push: | |
| paths-ignore: | |
| '.github/workflows/dist.yml' | |
| jobs: | |
| win64: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: build | |
| shell: pwsh | |
| run: | | |
| cmake -B build | |
| cmake --build build --config Release --target axslcc | |
| - name: Upload | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| path: ./build/src/Release/axslcc.exe | |
| name: axslcc-win64 | |
| linux: | |
| runs-on: [self-hosted, debian-11] # self-hosted on org simdsoft, @halx99 personal machine | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: build | |
| shell: pwsh | |
| run: | | |
| cmake -B build -DCMAKE_BUILD_TYPE=Release | |
| cmake --build build --config Release --target axslcc | |
| - name: Upload | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| path: ./build/src/axslcc | |
| name: axslcc-linux | |
| osx-arm64: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Xcode version | |
| uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: '16.4' | |
| - name: build | |
| shell: pwsh | |
| run: | | |
| cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=arm64 "-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15" | |
| cmake --build build --config Release --target axslcc | |
| lipo -info ./build/src/axslcc | |
| - name: Upload | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| path: ./build/src/axslcc | |
| name: axslcc-osx-arm64 | |
| osx-x64: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Xcode version | |
| uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: '16.4' | |
| - name: build | |
| shell: pwsh | |
| run: | | |
| cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=x86_64 "-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15" | |
| cmake --build build --config Release --target axslcc | |
| lipo -info ./build/src/axslcc | |
| - name: Upload | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| path: ./build/src/axslcc | |
| name: axslcc-osx-x64 |