Skip to content

Commit

Permalink
Update testing to use only CxxWrap 0.16
Browse files Browse the repository at this point in the history
  • Loading branch information
barche committed Dec 12, 2024
1 parent 305643a commit f7bb672
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/test-linux-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
version:
- "1.6"
- "1.10"
- "1.11"
- "nightly"
os:
- ubuntu-latest
Expand All @@ -42,10 +43,7 @@ jobs:
env:
body: ${{ github.event.pull_request.body }}
run: |
package="$(echo "$body" | sed -n '1p')"
if [ -z "${package}" ]; then
package="https://github.com/JuliaInterop/CxxWrap.jl.git"
fi
package="[email protected]"
if [[ "$OSTYPE" != "darwin"* ]]; then
rm -f /opt/hostedtoolcache/julia/1.6*/x64/lib/julia/libstdc++.so.6
fi
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/test-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
fail-fast: false
matrix:
version:
- "1.7"
- "1.10"
- "1.11"
- "nightly"
os:
- windows-latest
Expand All @@ -39,10 +39,7 @@ jobs:
mkdir build
cd build
cmake -G "Visual Studio 17 2022" -A x64 -DOVERRIDES_PATH=$HOMEDRIVE/$HOMEPATH/.julia/artifacts/Overrides.toml -DOVERRIDE_ROOT=./ -DAPPEND_OVERRIDES_TOML=ON ..
package="$(echo "$body" | sed -n '1p')"
if [ -z "${package}" ]; then
package="https://github.com/JuliaInterop/CxxWrap.jl.git"
fi
package="[email protected]"
cmake --build . --config Release
julia -e "using Pkg; Pkg.Registry.add(\"General\"); Pkg.Registry.add(RegistrySpec(url = \"https://github.com/barche/CxxWrapTestRegistry.git\"))"
julia -e "using Pkg; pkg\"add ${package}\"; using CxxWrap"
Expand Down

0 comments on commit f7bb672

Please sign in to comment.