Skip to content

Enable Control Flow Guard #55

Enable Control Flow Guard

Enable Control Flow Guard #55

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build-windows:
strategy:
matrix:
platform: [ x64, Win32, ARM64 ]
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
- uses: microsoft/[email protected]
with:
msbuild-architecture: x64
- run: msbuild.exe fabric-installer-native-bootstrap.sln /property:Configuration=Release /p:Platform=${{ matrix.platform }}
- run: gradle publishToMavenLocal --stacktrace
env:
MAVEN_URL: ${{ secrets.MAVEN_URL }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
PLATFORM: ${{ matrix.platform }}
- uses: actions/upload-artifact@v2
with:
name: Artifacts ${{ matrix.platform }}
path: |
${{ matrix.platform }}/Release/fabric-installer-native-bootstrap.exe
${{ matrix.platform }}/Release/fabric-installer-native-bootstrap.pdb
build-nix:
strategy:
fail-fast: false
matrix:
runner: [macos-12, ubuntu-22.04]
runs-on: ${{matrix.runner}}
steps:
- uses: actions/checkout@v2
- uses: seanmiddleditch/gha-setup-ninja@v3
- run: cmake -DCMAKE_BUILD_TYPE=Release -G Ninja
- run: ninja
- run: gradle publishToMavenLocal --stacktrace
env:
MAVEN_URL: ${{ secrets.MAVEN_URL }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
- uses: actions/upload-artifact@v2
with:
name: Artifacts ${{matrix.runner}}
path: fabric_installer_native_lib