Skip to content

Commit 55ffa1f

Browse files
committed
test of enable-cross-os-archive
1 parent 17af3ca commit 55ffa1f

File tree

5 files changed

+23
-17
lines changed

5 files changed

+23
-17
lines changed

.github/workflows/freebsd-ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@ jobs:
2222
run: |
2323
mkdir -p ${{github.workspace}}/temp
2424
- name: Downloading a DLS file for testing
25-
uses: ethanjli/cached-download-action@v0.1.2
25+
uses: ethanjli/cached-download-action@6bee1d546f48427140e81ed759b343229c93b7c5
2626
with:
2727
url: http://www.ronimusic.com/sf2/Airfont_340.dls
28-
destination: temp/soundfont.dls
29-
cache-key: soundfont-${{ runner.os }}
28+
destination: ${{env.TEMP}}/soundfont.dls
29+
cache-key: cached.soundfont.dls
30+
enable-cross-os-archive: true
3031
- name: FreeBSD test
3132
id: test
3233
uses: vmactions/freebsd-vm@v1

.github/workflows/linux-ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,12 @@ jobs:
4141
mkdir -p ${{github.workspace}}/temp
4242
4343
- name: '${{ matrix.icon }} Downloading a DLS file for testing'
44-
uses: ethanjli/cached-download-action@v0.1.2
44+
uses: ethanjli/cached-download-action@6bee1d546f48427140e81ed759b343229c93b7c5
4545
with:
4646
url: http://www.ronimusic.com/sf2/Airfont_340.dls
47-
destination: temp/soundfont.dls
48-
cache-key: soundfont-${{ runner.os }}
47+
destination: ${{env.TEMP}}/soundfont.dls
48+
cache-key: cached.soundfont.dls
49+
enable-cross-os-archive: true
4950

5051
- name: '${{ matrix.icon }} Configure CMake with USE_44KHZ=${{ matrix.USE_44KHZ }} and USE_16BITS_SAMPLES=${{ matrix.USE_16BITS_SAMPLES }}'
5152
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{env.INSTALL_LOCATION}} -DUSE_44KHZ=${{ matrix.USE_44KHZ }} -DUSE_16BITS_SAMPLES=${{ matrix.USE_16BITS_SAMPLES }}

.github/workflows/mac-ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ jobs:
2525
mkdir -p ${{github.workspace}}/temp
2626
2727
- name: Downloading a DLS file for testing
28-
uses: ethanjli/cached-download-action@v0.1.2
28+
uses: ethanjli/cached-download-action@6bee1d546f48427140e81ed759b343229c93b7c5
2929
with:
3030
url: http://www.ronimusic.com/sf2/Airfont_340.dls
31-
destination: temp/soundfont.dls
32-
cache-key: soundfont-${{ runner.os }}
31+
destination: ${{env.TEMP}}/soundfont.dls
32+
cache-key: cached.soundfont.dls
33+
enable-cross-os-archive: true
3334

3435
- name: Configure CMake
3536
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{env.INSTALL_LOCATION}}

.github/workflows/win-msvc.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@ jobs:
3535
run: mkdir temp
3636

3737
- name: '${{ matrix.icon }} Downloading a DLS file for testing'
38-
uses: ethanjli/cached-download-action@v0.1.2
38+
uses: ethanjli/cached-download-action@6bee1d546f48427140e81ed759b343229c93b7c5
3939
with:
4040
url: http://www.ronimusic.com/sf2/Airfont_340.dls
41-
destination: temp/soundfont.dls
42-
cache-key: soundfont-${{ runner.os }}
41+
destination: ${{env.TEMP}}/soundfont.dls
42+
cache-key: cached.soundfont.dls
43+
enable-cross-os-archive: true
4344

4445
- name: '${{ matrix.icon }} Configure CMake'
4546
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{env.INSTALL_LOCATION}} -G Ninja

.github/workflows/win-msys2.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
env:
1111
BUILD_TYPE: RelWithDebInfo
1212
INSTALL_LOCATION: SonivoxV3
13-
TEMP: ${{github.workspace}}/temp
13+
TEMP: temp
1414

1515
jobs:
1616
build:
@@ -46,15 +46,17 @@ jobs:
4646
ninja:p
4747
gtest:p
4848
49-
- name: '${{ matrix.icon }} Temp Environment Variable'
50-
run: mkdir temp
49+
- name: '${{ matrix.icon }} TEMP Environment Variable'
50+
run: |
51+
mkdir temp
5152
5253
- name: '${{ matrix.icon }} Downloading a DLS file for testing'
53-
uses: ethanjli/cached-download-action@v0.1.2
54+
uses: ethanjli/cached-download-action@6bee1d546f48427140e81ed759b343229c93b7c5
5455
with:
5556
url: http://www.ronimusic.com/sf2/Airfont_340.dls
5657
destination: temp/soundfont.dls
57-
cache-key: soundfont-${{ runner.os }}
58+
cache-key: cached.soundfont.dls
59+
enable-cross-os-archive: true
5860

5961
- name: '${{ matrix.icon }} Configure CMake'
6062
run: cmake -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{env.INSTALL_LOCATION}} -G Ninja

0 commit comments

Comments
 (0)