Create ci.yml workflow #4
Workflow file for this run
This file contains 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: Inking CI (all platforms) | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
linux-natives: | |
name: Linux Natives | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8 | |
dotnet-quality: ga | |
- name: Install GCC toolchains | |
run: | | |
sudo apt install gcc gcc-aarch64-linux-gnu | |
- name: Build NativeAOT with GNU Make (Linux x64, Linux arm64) | |
run: make linux-x64 linux-arm64 | |
working-directory: inking-otd | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: linux-natives | |
path: inking-otd/src/main/resources/natives/**/* |