Skip to content

Commit f90d39b

Browse files
committed
Testpipeline cleanup
1 parent 1a5c39f commit f90d39b

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,26 @@ on:
44
push:
55
branches:
66
- master
7-
- staging
8-
- trying
9-
schedule:
10-
- cron: '0 2 * * *' # To test `wasmer-nightly` with `libwasmer_archive_name`.
11-
127
jobs:
138
test:
149
name: Build and Test
1510

1611
strategy:
1712
matrix:
18-
go: [1.14, 1.15]
13+
go: [1.14, 1.15, 1.22]
1914
target:
20-
- id: 'linux-amd64'
21-
os: 'ubuntu-18.04'
15+
- id: "linux-amd64"
16+
os: "ubuntu-24.04"
2217

2318
#- id: 'linux-aarch64'
2419
# os: ['self-hosted', 'linux', 'ARM64']
2520

26-
- id: 'darwin-amd64'
27-
os: 'macos-latest'
21+
- id: "darwin-amd64"
22+
os: "macos-latest"
2823

29-
- id: 'linux-amd64'
30-
os: 'ubuntu-18.04'
31-
libwasmer_archive_name: 'wasmer-linux-amd64.tar.gz'
24+
- id: "linux-amd64"
25+
os: "ubuntu-24.04"
26+
libwasmer_archive_name: "wasmer-linux-amd64.tar.gz"
3227
fail-fast: true
3328

3429
runs-on: ${{ matrix.target.os }}
@@ -66,7 +61,8 @@ jobs:
6661
continue-on-error: true
6762
shell: bash
6863
run: |
69-
libwasmer_url=$(curl -s https://api.github.com/repos/wasmerio/wasmer-nightly/releases/latest | jq --raw-output '.assets[] | select(.name == "${{ matrix.target.libwasmer_archive_name }}") | .browser_download_url')
64+
libwasmer_url=$(curl -s https://api.github.com/repos/wasmerio/wasmer/releases/latest | \
65+
jq --raw-output '.assets[] | select(.name == "${{ matrix.target.libwasmer_archive_name }}") | .browser_download_url')
7066
mkdir -p libwasmer
7167
curl -L $libwasmer_url > release.tar.gz
7268
tar xzvf release.tar.gz -C libwasmer
@@ -78,6 +74,7 @@ jobs:
7874
shell: bash
7975
run: |
8076
just examples
77+
8178
# Skipped for now because of Github banning the API request from actions.
8279
# You can find more info in this PR: https://github.com/wasmerio/wasmer-go/pull/118#issuecomment-588487544
8380
# - name: Test bazel build

0 commit comments

Comments
 (0)