-
Notifications
You must be signed in to change notification settings - Fork 4
58 lines (53 loc) · 1.94 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Test sofa-setup-action
on:
workflow_dispatch:
push:
pull_request:
types: [opened, synchronize, reopened, edited]
jobs:
run:
name: Run on ${{ matrix.os }} with SOFA ${{ matrix.sofa_branch }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-13, windows-2022]
sofa_branch: [master, v23.06]
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Setup SOFA and deps
id: sofa
uses: ./
with:
sofa_version: ${{ matrix.sofa_branch }}
sofa_root: ${{ github.workspace }}/sofa
- name: Print sofa-setup-action outputs
shell: bash
run: |
echo 'steps.sofa.outputs = ${{ toJSON(steps.sofa.outputs) }}'
echo "----------------------------"
ls -la '${{ steps.sofa.outputs.sofa_root }}'
echo "----------------------------"
echo "PATH = $PATH"
echo "----------------------------"
echo "SOFA_ROOT = $SOFA_ROOT"
echo "----------------------------"
echo "----------------------------"
echo 'github.path = ${{ toJSON(github.path) }}'
echo "----------------------------"
ls -la '${{ runner.temp }}'
echo "----------------------------"
ls -la '${{ runner.temp }}'/_runner_file_commands/add_path*
echo "----------------------------"
cat '${{ runner.temp }}'/_runner_file_commands/add_path*
echo "----------------------------"
if [[ "$RUNNER_OS" == "Windows" ]]; then
echo "----------------------------"
cmd //c 'echo EIGEN3_ROOT=%EIGEN3_ROOT%'
cmd //c 'echo Eigen3_ROOT=%Eigen3_ROOT%'
cmd //c 'echo BOOST_ROOT=%BOOST_ROOT%'
cmd //c 'echo Boost_ROOT=%Boost_ROOT%'
echo "----------------------------"
cmd //c 'echo PATH=%PATH%'
fi