Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
halentin committed Jun 18, 2024
1 parent 3a9cbc6 commit dc2ea1c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/callbackFunctions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
include:
- os: windows-latest
targetplatform: x86
arch: -A Win32
env:
BUILD_TYPE: RelWithDebInfo
CMAKE_SOURCE_DIR: ${{github.workspace}}/src/FMI2/callbackFunctions
Expand All @@ -28,7 +28,7 @@ jobs:
uses: actions/checkout@v3

- name: Configure CMake
run: cmake -S ${{env.CMAKE_SOURCE_DIR}}/callbackFunctions -B ${{env.CMAKE_SOURCE_DIR}}/callbackFunctions/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
run: cmake -S ${{env.CMAKE_SOURCE_DIR}}/callbackFunctions -B ${{env.CMAKE_SOURCE_DIR}}/callbackFunctions/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{ matrix.arch }}

- name: Build C++ Sources
run: cmake --build ${{env.CMAKE_SOURCE_DIR}}/callbackFunctions/build --config ${{env.BUILD_TYPE}} --target install
Expand All @@ -42,14 +42,14 @@ jobs:
run: ${{env.CMAKE_SOURCE_DIR}}/callbackFunctions/build/test

- name: Archive production artifacts (win)
if: success() && matrix.os == 'windows-latest' && arch == ''
if: success() && matrix.os == 'windows-latest' && matrix.arch == ''
uses: actions/upload-artifact@v3
with:
name: callbackFunctions-win-binaries
path: src/FMI2/callbackFunctions/binaries/win64/

- name: Archive production artifacts (win32)
if: success() && matrix.os == 'windows-latest' && arch != ''
if: success() && matrix.os == 'windows-latest' && matrix.arch != ''
uses: actions/upload-artifact@v3
with:
name: callbackFunctions-win-binaries
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
uses: actions/download-artifact@v3
with:
name: callbackFunctions-win-binaries
path: src/FMI2/callbackFunctions/binaries/win32/
path: src/FMI2/callbackFunctions/binaries/win3/

- name: Download linux binaries
uses: actions/download-artifact@v3
Expand Down

0 comments on commit dc2ea1c

Please sign in to comment.