windows fixes #34
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: Linux Nightly | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| permissions: | |
| contents: read | |
| env: | |
| TARGET: acftool | |
| jobs: | |
| build: | |
| name: Build Linux nightly | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Install toolchain | |
| run: | | |
| set -euo pipefail | |
| sudo apt update | |
| sudo apt install -y --no-install-recommends \ | |
| clang \ | |
| make | |
| - name: Build Linux binary | |
| run: | | |
| set -euo pipefail | |
| make \ | |
| CC="clang" \ | |
| TARGET="${{ env.TARGET }}" | |
| - name: Upload Linux build artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ env.TARGET }}-linux | |
| path: ${{ env.TARGET }} | |
| if-no-files-found: error |