Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: "Common steps for Linux and OSX"
runs:
using: "composite"
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set conda environment
uses: mamba-org/setup-micromamba@v2
with:
Expand All @@ -23,10 +21,12 @@ runs:
else
micromamba install xtensor-r==0.14.0 -c conda-forge;
fi
shell: bash -e -l {0}

- name: Build Xtensor.R package
run: |
R CMD build ${{ github.workspace }};
shell: bash -e -l {0}

- name: Check R package
run: |
Expand All @@ -47,3 +47,4 @@ runs:
cat xtensor.Rcheck/Rdlatex.log
);
fi
shell: bash -e -l {0}
7 changes: 5 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- {compiler: gcc, version: '12', novendor: 1}
- {compiler: gcc, version: '13', novendor: 1}
- {compiler: gcc, version: '14', novendor: 1}
#- {compiler: clang, version: '19'}
- {compiler: clang, version: '19'}
- {compiler: clang, version: '20'}

steps:
Expand All @@ -52,6 +52,9 @@ jobs:
sudo update-alternatives --set clang++ /usr/bin/clang++-${{matrix.sys.version}}
sudo update-alternatives --set clang-scan-deps /usr/bin/clang-scan-deps-${{matrix.sys.version}}

- name: Checkout code
uses: actions/checkout@v4

- name: Build and run tests
uses: ./.github/workflows/unix_impl.yml
uses: ./.github/actions/unix_impl

5 changes: 4 additions & 1 deletion .github/workflows/osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:

steps:

- name: Checkout code
uses: actions/checkout@v4

- name: Build and run tests
uses: ./.github/workflows/unix_impl.yml
uses: ./.github/actions/unix_impl