Skip to content

Commit 4f5b361

Browse files
committed
WIP: fix use inputs. not matrix.
1 parent df8f889 commit 4f5b361

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/cmake-test-on.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ on:
1919

2020
jobs:
2121
cmake-test:
22-
name: ${{ matrix.os }}-${{ matrix.os_version }}-${{ matrix.compiler }}-${{ matrix.variant }}
23-
runs-on: ${{ matrix.os }}-${{ matrix.os_version }}
22+
name: ${{ inputs.os }}-${{ inputs.os_version }}-${{ inputs.compiler }}-${{ inputs.variant }}
23+
runs-on: ${{ inputs.os }}-${{ inputs.os_version }}
2424
strategy:
2525
fail-fast: false
2626
env:
27-
CXX: ${{ matrix.compiler }}
28-
VCPKG_DEFAULT_TRIPLET: ${{ matrix.triplet }}
27+
CXX: ${{ inputs.compiler }}
28+
VCPKG_DEFAULT_TRIPLET: ${{ inputs.triplet }}
2929
VCPKG_DISABLE_METRICS: true
3030
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
3131
VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}/vcpkg/.cache
@@ -46,19 +46,19 @@ jobs:
4646
- uses: actions/cache@v4
4747
with:
4848
# vcpkg always builds release, so share cache between debug and release
49-
key: vcpkg-${{ matrix.os }}-${{ matrix.os_version }}-${{ matrix.compiler }}-${{ hashFiles('vcpkg.json', '.github/vcpkg_overlays/**') }}
49+
key: vcpkg-${{ inputs.os }}-${{ inputs.os_version }}-${{ inputs.compiler }}-${{ hashFiles('vcpkg.json', '.github/vcpkg_overlays/**') }}
5050
path: |
5151
${{ env.VCPKG_DEFAULT_BINARY_CACHE }}
5252
53-
- run: cmake --preset ${{ matrix.variant }}
53+
- run: cmake --preset ${{ inputs.variant }}
5454

55-
- name: Run cmake --build --parallel --preset ${{ matrix.variant }}
55+
- name: Run cmake --build --parallel --preset ${{ inputs.variant }}
5656
run: |
5757
echo "::add-matcher::.github/cmake-problem-matcher.json"
58-
cmake --build --parallel --preset ${{ matrix.variant }}
58+
cmake --build --parallel --preset ${{ inputs.variant }}
5959
6060
- run: ./firestarr -h
6161

62-
- run: ctest --output-on-failure --preset ${{ matrix.variant }}
62+
- run: ctest --output-on-failure --preset ${{ inputs.variant }}
6363

6464
- run: ./firestarr . 2024-06-03 58.81228184403946 -122.9117103995713 01:00 --ffmc 89.9 --dmc 59.5 --dc 450.9 --apcp_prev 0 -v --wx ./test/input/10N_50651/firestarr_10N_50651_wx.csv --output_date_offsets [1] --tz -5 --raster-root ./test/input/10N_50651/ --perim ./test/input/10N_50651/10N_50651.tif

0 commit comments

Comments
 (0)