Skip to content

feat: add basic queue support #218

feat: add basic queue support

feat: add basic queue support #218

Workflow file for this run

name: test
on:
push:
branches-ignore:
- prerelease
pull_request:
branches-ignore:
- prerelease
defaults:
run:
shell: bash
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.6'
- '1.10'
os:
- macOS-latest
- ubuntu-latest
arch:
- x64
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- run: |
mkdir libcxxwrap && cd libcxxwrap
body="${{github.event.pull_request.body}}"
echo $body
while IFS= read -r line || [ -n "$line" ]; do
if [ -z "$line1" ]; then
repo_url="$line"
else
branch="$line"
fi
done <<< "$content"
echo $repo_url
echo $branch
git clone --branch $branch --single-branch $repo_url . .
echo "done cloning"
if [[ "$OSTYPE" != "darwin"* ]]; then
rm -f /opt/hostedtoolcache/julia/1.6*/x64/lib/julia/libstdc++.so.6
fi
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=$HOME/install -DAPPEND_OVERRIDES_TOML=ON -DOVERRIDE_VERSION_TO_JLL=ON -DCMAKE_BUILD_TYPE=Debug ..
VERBOSE=ON cmake --build . --config Debug --target install
cd ../..
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest