Update readme #84
Workflow file for this run
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: native | |
| on: | |
| push: | |
| paths-ignore: | |
| - 'img/**' | |
| - 'doc/**' | |
| - 'src/**' | |
| - '*.md' | |
| - '*.txt' | |
| pull_request: | |
| paths-ignore: | |
| - 'img/**' | |
| - 'doc/**' | |
| - 'src/**' | |
| - '*.md' | |
| - '*.txt' | |
| defaults: | |
| run: | |
| working-directory: lib/blake3_dotnet | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-22.04, windows-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Build Linux | |
| if: matrix.os == 'ubuntu-22.04' | |
| run: | | |
| sudo apt-get update | |
| chmod 755 *.sh | |
| echo "building linux-x64" | |
| ./build-linux-x64.sh | |
| echo "building linux-arm64" | |
| sudo apt-get install -y gcc-aarch64-linux-gnu | |
| ./build-linux-arm64.sh | |
| echo "building linux-arm" | |
| sudo apt-get install -y gcc-arm-linux-gnueabihf | |
| ./build-linux-arm.sh | |
| - name: Build macOS and musl Linux | |
| if: matrix.os == 'macos-latest' | |
| run: | | |
| chmod 755 *.sh | |
| ./build-osx-x64.sh | |
| ./build-osx-arm64.sh | |
| brew tap messense/macos-cross-toolchains | |
| brew install aarch64-unknown-linux-musl | |
| brew install x86_64-unknown-linux-musl | |
| ./build-linux-musl-x64.sh | |
| ./build-linux-musl-arm64.sh | |
| - name: Build Windows | |
| if: matrix.os == 'windows-latest' | |
| run: | | |
| ./build-win-x64.ps1 | |
| ./build-win-x86.ps1 | |
| ./build-win-arm64.ps1 | |
| # ./build-win-arm.ps1 | |
| - name: Artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: native-${{ matrix.os }} | |
| path: lib/blake3_dotnet/build/ |