File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,14 @@ jobs:
3030 - name : Compile wrapper on Linux / macOS
3131 if : startsWith(runner.os, 'Linux') || startsWith(runner.os, 'macOS')
3232 run : |
33- mkdir tmp-build
34- cd tmp-build
35- cmake $GITHUB_WORKSPACE/pythonfmu3/pythonfmu-export -DCMAKE_BUILD_TYPE=Release
36- cmake --build .
37- cd ..
33+ docker build -f DockerFile -t pythonfmu3-wrapper --target build .
34+
35+ - name : Create container and copy out artifact
36+ if : startsWith(runner.os, 'Linux') || startsWith(runner.os, 'macOS')
37+ run : |
38+ docker create --name extract pythonfmu3-wrapper
39+ docker cp extract:/io/pythonfmu3/resources $GITHUB_WORKSPACE/pythonfmu3
40+ docker rm extract
3841 - name : Archive wrapper library
3942 uses : actions/upload-artifact@v4
4043 with :
You can’t perform that action at this time.
0 commit comments