Skip to content

Commit

Permalink
Wip
Browse files Browse the repository at this point in the history
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
  • Loading branch information
geofjamg committed Jun 27, 2024
1 parent 7c696e5 commit 38a8811
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,28 @@ jobs:
os: ubuntu-20.04,
container: 'quay.io/pypa/manylinux2014_x86_64',
artifact_name: libmath.so,
upload_name: libmath.so,
artifact_path: linux_64
}
- {
name: macos,
os: macos-11,
artifact_name: libmath.dylib,
upload_name: libmath.dylib,
artifact_path: osx_64
}
- {
name: macos_arm64,
os: macos-14, # minimal version to get an ARM64 runner
artifact_name: libmath_arm64.dylib,
artifact_name: libmath.dylib,
upload_name: libmath_arm64.dylib,
artifact_path: osx_arm64
}
- {
name: windows,
os: windows-2019,
artifact_name: math.dll,
upload_name: math.dll,
artifact_path: windows_64
}

Expand Down Expand Up @@ -72,7 +76,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.config.artifact_name }}
name: ${{ matrix.config.upload_name }}
path: ${{ runner.workspace }}/powsybl-math-native/target/classes/natives/${{ matrix.config.artifact_path }}/${{ matrix.config.artifact_name }}

package:
Expand Down Expand Up @@ -100,7 +104,7 @@ jobs:
uses: actions/download-artifact@v3
with:
name: libmath_arm64.dylib
path: target/classes/natives/osx_arm64/libmath.dylib
path: target/classes/natives/osx_arm64/

- name: Download Windows library
uses: actions/download-artifact@v3
Expand Down

0 comments on commit 38a8811

Please sign in to comment.