diff --git a/.github/workflows/macos-arm64.yml b/.github/workflows/macos-arm64.yml new file mode 100644 index 0000000..a3850e1 --- /dev/null +++ b/.github/workflows/macos-arm64.yml @@ -0,0 +1,28 @@ +# This workflow will build a .NET project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net + +name: Compile AoT (MacOS-Arm64) + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: macos-latest + + steps: + - uses: actions/checkout@v4 + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 9.0.x + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --no-restore + - name: Release + run: dotnet publish -r osx-arm64 -c Release diff --git a/.github/workflows/macos-x64.yml b/.github/workflows/macos-x64.yml new file mode 100644 index 0000000..d7d4f3a --- /dev/null +++ b/.github/workflows/macos-x64.yml @@ -0,0 +1,28 @@ +# This workflow will build a .NET project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net + +name: Compile AoT (MacOS-x64) + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: macos-13 + + steps: + - uses: actions/checkout@v4 + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 9.0.x + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --no-restore + - name: Release + run: dotnet publish -r osx-x64 -c Release