Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support FILE* pointers#674

Support FILE* pointers

Support FILE* pointers #674

name:test-linux-mac
on:
-push
-pull_request
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.10"
-"1"
-"nightly"
os:
-ubuntu-latest
-macos-15-intel
arch:
-x64
include:
-os:macos-latest
arch:aarch64
version:"1.10"
-os:macos-latest
arch:aarch64
version:"nightly"
steps:
-uses:actions/checkout@v3
with:
fetch-depth:0
-uses:julia-actions/setup-julia@latest
with:
version:${{ matrix.version }}
arch:${{ matrix.arch }}
-name:Build and test
env:
body:${{ github.event.pull_request.body }}
run:|
package="$(echo "$body" | sed -n '1p')"
if [[ ! "${package}" =~ ^https:// ]]; then
package="https://github.com/JuliaInterop/CxxWrap.jl.git"
fi
mkdir build && cd build
CXXFLAGS=-ftemplate-backtrace-limit=0 cmake -DCMAKE_INSTALL_PREFIX=$HOME/install -DAPPEND_OVERRIDES_TOML=ON -DCMAKE_BUILD_TYPE=Debug ..
VERBOSE=ON cmake --build . --config Debug --target install
wget https://github.com/JuliaRegistries/General/raw/refs/heads/master/jll/L/libcxxwrap_julia_jll/Versions.toml
jllversion=$(grep '\["' Versions.toml | tail -n 1 | sed -E 's/\["([0-9]+\.[0-9]+\.[0-9]+)\+[^"]*"\]/\1/g')
cd lib
if [ ! -f libcxxwrap_julia.${jllversion}.dylib ]; then
ln -s libcxxwrap_julia.*.*.*.* libcxxwrap_julia.${jllversion}.dylib
fi
cd ..
ls -al lib
julia -e "using Pkg; pkg\"add ${package}\"; using CxxWrap"
ctest -V
-name:Build testlib
run:|
cd testlib-builder
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$HOME/install ../src/testlib
cmake --build . --config Release

[8]ページ先頭

©2009-2025 Movatter.jp