Add dummy libhsl_subset and libhsl_subset_64 #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Meson | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
name: libHSL/${{ matrix.os }}/${{ matrix.compiler }}-v${{ matrix.version }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest, ubuntu-latest, macos-latest] | |
version: ['12'] | |
include: | |
- compiler: gcc | |
- os: ubuntu-latest | |
compiler: intel-classic | |
version: '2021.10' | |
- os: ubuntu-latest | |
compiler: intel | |
version: '2023.2' | |
- os: macos-latest | |
compiler: gcc | |
version: '13' | |
arch: 'arm64' | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Check out libHSL | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install Meson and Ninja | |
run: pip install meson ninja | |
- name: Install compilers | |
uses: fortran-lang/setup-fortran@main | |
with: | |
compiler: ${{ matrix.compiler }} | |
version: ${{ matrix.version }} | |
# Uncomment this section to obtain ssh access to VM | |
# - name: Setup tmate session | |
# if: matrix.os == 'windows-latest' | |
# uses: mxschmitt/action-tmate@v3 | |
- name: Setup libHSL | |
shell: bash | |
run: | | |
cd $GITHUB_WORKSPACE/libhsl | |
meson setup builddir_libhsl --prefix=$GITHUB_WORKSPACE/../meson | |
cd $GITHUB_WORKSPACE/hsl_subset | |
meson setup builddir_hsl_subset --prefix=$GITHUB_WORKSPACE/../meson | |
- name: Build libHSL | |
shell: bash | |
run: | | |
cd $GITHUB_WORKSPACE/libhsl | |
meson compile -C builddir_libhsl | |
cd $GITHUB_WORKSPACE/hsl_subset | |
meson compile builddir_hsl_subset | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: ${{ matrix.os }}_${{ matrix.compiler }}-v${{ matrix.version }}_meson-log.txt | |
path: builddir/meson-logs/meson-log.txt | |
- name: Install libHSL | |
shell: bash | |
run: | | |
cd $GITHUB_WORKSPACE/libhsl | |
meson install -C builddir_libhsl | |
cd $GITHUB_WORKSPACE/hsl_subset | |
meson install builddir_hsl_subset | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: ${{ matrix.os }}_${{ matrix.compiler }}-v${{ matrix.version }}_install-log.txt | |
path: builddir/meson-logs/install-log.txt |