Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pierremolinaro authored Sep 10, 2024
1 parent 6a3fdde commit e707007
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,52 +14,52 @@ jobs:
windows:
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
run: |
cmake -B ${{github.workspace}}/build -A x64
cmake --build ${{github.workspace}}/build --config Release
- name: Upload windows build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: windows
path: ${{github.workspace}}/build/Analyzers/Release/*.dll
macos-x86:
runs-on: macos-11
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
run: |
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release
cmake --build ${{github.workspace}}/build
- name: Upload MacOS build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: macos-11-x86
path: ${{github.workspace}}/build/Analyzers/*.so
#macos-arm64:
# runs-on: [macos-11, ARM64]
# steps:
# - uses: actions/checkout@v3
# - uses: actions/checkout@v4
# - name: Build
# run: |
# cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release
# cmake --build ${{github.workspace}}/build
# - name: Upload MacOS build
# uses: actions/upload-artifact@v3
# uses: actions/upload-artifact@v4
# with:
# name: macos-11-arm64
# path: ${{github.workspace}}/build/Analyzers/*.so
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
run: |
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release
cmake --build ${{github.workspace}}/build
- name: Upload Linux build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: linux
path: ${{github.workspace}}/build/Analyzers/*.so
Expand All @@ -68,14 +68,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: download individual builds
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: ${{github.workspace}}/artifacts
- name: zip
run: |
cd ${{github.workspace}}/artifacts
zip -r ${{github.workspace}}/all-analyzers.zip .
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: all-platforms
path: ${{github.workspace}}/artifacts/**
Expand Down

0 comments on commit e707007

Please sign in to comment.