Skip to content

Commit 8046d03

Browse files
committed
dev
1 parent a707bfd commit 8046d03

File tree

2 files changed

+192
-196
lines changed

2 files changed

+192
-196
lines changed

.github/workflows/ci.yml

Lines changed: 190 additions & 190 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,19 @@ concurrency:
3333
cancel-in-progress: true
3434

3535
jobs:
36-
miri:
37-
uses: taiki-e/github-actions/.github/workflows/miri.yml@main
38-
with:
39-
# NB: sync with test job's --exclude option
40-
args: --exclude install-action-internal-codegen
41-
msrv:
42-
uses: taiki-e/github-actions/.github/workflows/msrv.yml@main
43-
test-manifest-schema:
44-
uses: taiki-e/github-actions/.github/workflows/test.yml@main
45-
with:
46-
# NB: sync with miri job's --exclude option
47-
test-args: --exclude install-action-internal-codegen
48-
no-std: false
36+
# miri:
37+
# uses: taiki-e/github-actions/.github/workflows/miri.yml@main
38+
# with:
39+
# # NB: sync with test job's --exclude option
40+
# args: --exclude install-action-internal-codegen
41+
# msrv:
42+
# uses: taiki-e/github-actions/.github/workflows/msrv.yml@main
43+
# test-manifest-schema:
44+
# uses: taiki-e/github-actions/.github/workflows/test.yml@main
45+
# with:
46+
# # NB: sync with miri job's --exclude option
47+
# test-args: --exclude install-action-internal-codegen
48+
# no-std: false
4949
tidy:
5050
uses: taiki-e/github-actions/.github/workflows/tidy.yml@main
5151
permissions:
@@ -60,22 +60,22 @@ jobs:
6060
fail-fast: false
6161
matrix:
6262
include:
63-
# NB: Sync list with https://github.com/taiki-e/checkout-action/blob/HEAD/.github/workflows/ci.yml
64-
- os: ubuntu-22.04
65-
- os: ubuntu-22.04-arm
66-
- os: ubuntu-24.04
67-
- os: ubuntu-24.04-arm
68-
- os: ubuntu-slim
69-
- os: ubuntu-22.04
70-
tool: major.minor.patch
71-
- os: ubuntu-22.04
72-
tool: major.minor
73-
- os: ubuntu-22.04
74-
tool: major
75-
- os: macos-14
76-
- os: macos-15
77-
- os: macos-15-intel
78-
- os: macos-26
63+
# # NB: Sync list with https://github.com/taiki-e/checkout-action/blob/HEAD/.github/workflows/ci.yml
64+
# - os: ubuntu-22.04
65+
# - os: ubuntu-22.04-arm
66+
# - os: ubuntu-24.04
67+
# - os: ubuntu-24.04-arm
68+
# - os: ubuntu-slim
69+
# - os: ubuntu-22.04
70+
# tool: major.minor.patch
71+
# - os: ubuntu-22.04
72+
# tool: major.minor
73+
# - os: ubuntu-22.04
74+
# tool: major
75+
# - os: macos-14
76+
# - os: macos-15
77+
# - os: macos-15-intel
78+
# - os: macos-26
7979
- os: windows-2022
8080
- os: windows-2022
8181
bash: msys64
@@ -151,166 +151,166 @@ jobs:
151151
fi
152152
if: matrix.bash != 'cygwin' && matrix.os != 'windows-11-arm'
153153
154-
test-alias:
155-
runs-on: ubuntu-latest
156-
timeout-minutes: 60
157-
steps:
158-
- uses: taiki-e/checkout-action@v1
159-
# cross attempts to install rust-src when Cargo.toml is available even if `cross --version`
160-
- run: rm -- Cargo.toml
161-
- run: env
162-
- uses: ./
163-
with:
164-
# NB: Update alias list in release.yml, case for aliases in main.sh,
165-
# and match for alias for tools/codegen/src/tools-markdown.rs.
166-
tool: |
167-
nextest
168-
taplo-cli
169-
typos-cli
170-
wasm-bindgen-cli
171-
wasmtime-cli
172-
env:
173-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
174-
- name: Test bash
175-
run: cargo-nextest nextest --version && taplo --version
176-
shell: bash
177-
- name: Test sh
178-
run: cargo-nextest nextest --version && taplo --version
179-
shell: sh
154+
# test-alias:
155+
# runs-on: ubuntu-latest
156+
# timeout-minutes: 60
157+
# steps:
158+
# - uses: taiki-e/checkout-action@v1
159+
# # cross attempts to install rust-src when Cargo.toml is available even if `cross --version`
160+
# - run: rm -- Cargo.toml
161+
# - run: env
162+
# - uses: ./
163+
# with:
164+
# # NB: Update alias list in release.yml, case for aliases in main.sh,
165+
# # and match for alias for tools/codegen/src/tools-markdown.rs.
166+
# tool: |
167+
# nextest
168+
# taplo-cli
169+
# typos-cli
170+
# wasm-bindgen-cli
171+
# wasmtime-cli
172+
# env:
173+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
174+
# - name: Test bash
175+
# run: cargo-nextest nextest --version && taplo --version
176+
# shell: bash
177+
# - name: Test sh
178+
# run: cargo-nextest nextest --version && taplo --version
179+
# shell: sh
180180

181-
test-fallback:
182-
strategy:
183-
fail-fast: false
184-
matrix:
185-
fallback:
186-
- none
187-
- cargo-install
188-
runs-on: ubuntu-24.04-arm
189-
timeout-minutes: 60
190-
steps:
191-
- uses: taiki-e/checkout-action@v1
192-
# cross attempts to install rust-src when Cargo.toml is available even if `cross --version`
193-
- run: rm -- Cargo.toml
194-
- run: env
195-
- uses: ./
196-
id: install
197-
continue-on-error: ${{ matrix.fallback == 'none' }}
198-
with:
199-
tool: parse-changelog@0.4.6
200-
fallback: ${{ matrix.fallback }}
201-
- run: exit 1
202-
if: matrix.fallback == 'none' && steps.install.outcome != 'failure'
203-
- name: Test bash
204-
run: parse-changelog --version
205-
shell: bash
206-
if: matrix.fallback != 'none'
207-
- name: Test sh
208-
run: parse-changelog --version
209-
shell: sh
210-
if: matrix.fallback != 'none'
181+
# test-fallback:
182+
# strategy:
183+
# fail-fast: false
184+
# matrix:
185+
# fallback:
186+
# - none
187+
# - cargo-install
188+
# runs-on: ubuntu-24.04-arm
189+
# timeout-minutes: 60
190+
# steps:
191+
# - uses: taiki-e/checkout-action@v1
192+
# # cross attempts to install rust-src when Cargo.toml is available even if `cross --version`
193+
# - run: rm -- Cargo.toml
194+
# - run: env
195+
# - uses: ./
196+
# id: install
197+
# continue-on-error: ${{ matrix.fallback == 'none' }}
198+
# with:
199+
# tool: parse-changelog@0.4.6
200+
# fallback: ${{ matrix.fallback }}
201+
# - run: exit 1
202+
# if: matrix.fallback == 'none' && steps.install.outcome != 'failure'
203+
# - name: Test bash
204+
# run: parse-changelog --version
205+
# shell: bash
206+
# if: matrix.fallback != 'none'
207+
# - name: Test sh
208+
# run: parse-changelog --version
209+
# shell: sh
210+
# if: matrix.fallback != 'none'
211211

212-
test-container:
213-
strategy:
214-
fail-fast: false
215-
matrix:
216-
container:
217-
# NB: Sync list with https://github.com/taiki-e/checkout-action/blob/HEAD/.github/workflows/ci.yml
218-
- ubuntu:14.04 # glibc 2.19
219-
- ubuntu:16.04 # glibc 2.23
220-
- ubuntu:18.04 # glibc 2.27
221-
- ubuntu:20.04 # glibc 2.31
222-
- ubuntu:22.04 # glibc 2.35
223-
- ubuntu:24.04 # glibc 2.39
224-
- ubuntu:26.04 # glibc 2.42
225-
- debian:9-slim # glibc 2.24
226-
- debian:10-slim # glibc 2.28
227-
- debian:11-slim # glibc 2.31
228-
- debian:12-slim # glibc 2.36
229-
- debian:13-slim # glibc 2.41
230-
- fedora:latest # glibc 2.39 (as of fedora 40)
231-
- almalinux:8 # glibc 2.28
232-
- almalinux:8-minimal # glibc 2.28
233-
- almalinux:9 # glibc 2.34
234-
- almalinux:9-minimal # glibc 2.34
235-
- almalinux:10 # glibc 2.39
236-
- almalinux:10-minimal # glibc 2.39
237-
- centos:6 # glibc 2.12
238-
- centos:7 # glibc 2.17
239-
- opensuse/leap:latest # glibc 2.38 (as of leap 15.6)
240-
- opensuse/tumbleweed:latest # glibc 2.39 (as of 2024-07-19)
241-
# - archlinux:latest # glibc 2.39 (as of 2024-07-19)
242-
- alpine:3.2 # musl 1.1.11
243-
- alpine:3.14 # musl 1.2.2
244-
- alpine:3.15 # musl 1.2.2
245-
- alpine:3.16 # musl 1.2.3
246-
- alpine:3.17 # musl 1.2.3
247-
- alpine:3.18 # musl 1.2.4
248-
- alpine:3.19 # musl 1.2.4
249-
- alpine:3.20 # musl 1.2.5
250-
- alpine:3.21 # musl 1.2.5
251-
- alpine:3.22 # musl 1.2.5
252-
- alpine:3.23 # musl 1.2.5
253-
# - openwrt/rootfs:x86-64-openwrt-24.10 # musl 1.2.5
254-
runs-on: ubuntu-latest
255-
timeout-minutes: 60
256-
container: ${{ matrix.container }}
257-
steps:
258-
- name: Install requirements (old debian)
259-
run: |
260-
# In Debian, the old repositories is removed from the main mirrors some time after EoL.
261-
codename=$(grep -E '^VERSION_CODENAME=' /etc/os-release | cut -d= -f2)
262-
sed -i /etc/apt/sources.list -e 's/deb.debian.org/archive.debian.org/g' \
263-
-e 's|security.debian.org|archive.debian.org/|g' \
264-
-e "/${codename}-updates/d"
265-
if: startsWith(matrix.container, 'debian:9') || startsWith(matrix.container, 'debian:10')
266-
- name: Install requirements (centos)
267-
run: |
268-
# In CentOS, the old repositories is removed from the main mirrors just after EoL.
269-
# https://github.com/rust-lang/rust/pull/126352
270-
sed -i /etc/yum.repos.d/*.repo -e 's!^mirrorlist!#mirrorlist!' \
271-
-e 's!^#baseurl=http://mirror.centos.org/!baseurl=https://vault.centos.org/!'
272-
sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
273-
if [[ "${CONTAINER}" == "centos:6" ]]; then
274-
# CentOS 6's curl (7.19.7) has no curl has no --proto/--tlsv1.2.
275-
yum install -y gcc openssl-devel
276-
curl -fsSL --retry 10 https://curl.se/download/curl-7.34.0.tar.gz | tar xzf -
277-
cd -- curl-*
278-
./configure --prefix=/usr/local --with-ssl
279-
make
280-
make install
281-
# for checkout-action https://github.com/taiki-e/checkout-action/blob/v1.3.0/.github/workflows/ci.yml#L135-L143
282-
yum install -y openssh-clients perl perl-Error perl-TermReadKey rsync
283-
rpm -i \
284-
https://vault.ius.io/el6/x86_64/packages/p/perl-Git18-1.8.5.5-4.ius.el6.noarch.rpm \
285-
https://vault.ius.io/el6/x86_64/packages/g/git18-1.8.5.5-4.ius.el6.x86_64.rpm
286-
fi
287-
env:
288-
CONTAINER: ${{ matrix.container }}
289-
if: startsWith(matrix.container, 'centos')
290-
- uses: taiki-e/checkout-action@v1
291-
# cross attempts to install rust-src when Cargo.toml is available even if `cross --version`
292-
- run: rm -- Cargo.toml
293-
- name: Generate tool list
294-
id: tool-list
295-
run: tools/ci/tool-list.sh "" "${CONTAINER}" >>"${GITHUB_OUTPUT}"
296-
env:
297-
CONTAINER: ${{ matrix.container }}
298-
# remove bash installed by checkout-action
299-
- run: apk --no-cache del bash
300-
shell: sh
301-
if: startsWith(matrix.container, 'alpine')
302-
- uses: ./
303-
with:
304-
tool: ${{ steps.tool-list.outputs.tool }}
305-
env:
306-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
307-
- name: Test bash
308-
run: just --version && shfmt --version
309-
shell: bash
310-
# TODO: OCI runtime exec failed: exec failed: unable to start container process: exec: "bash": executable file not found in $PATH: unknown
311-
if: (!startsWith(matrix.container, 'opensuse'))
312-
- name: Test sh
313-
run: just --version && shfmt --version
314-
shell: sh
315-
# TODO: OCI runtime exec failed: exec failed: unable to start container process: exec: "sh": executable file not found in $PATH: unknown
316-
if: (!startsWith(matrix.container, 'opensuse'))
212+
# test-container:
213+
# strategy:
214+
# fail-fast: false
215+
# matrix:
216+
# container:
217+
# # NB: Sync list with https://github.com/taiki-e/checkout-action/blob/HEAD/.github/workflows/ci.yml
218+
# - ubuntu:14.04 # glibc 2.19
219+
# - ubuntu:16.04 # glibc 2.23
220+
# - ubuntu:18.04 # glibc 2.27
221+
# - ubuntu:20.04 # glibc 2.31
222+
# - ubuntu:22.04 # glibc 2.35
223+
# - ubuntu:24.04 # glibc 2.39
224+
# - ubuntu:26.04 # glibc 2.42
225+
# - debian:9-slim # glibc 2.24
226+
# - debian:10-slim # glibc 2.28
227+
# - debian:11-slim # glibc 2.31
228+
# - debian:12-slim # glibc 2.36
229+
# - debian:13-slim # glibc 2.41
230+
# - fedora:latest # glibc 2.39 (as of fedora 40)
231+
# - almalinux:8 # glibc 2.28
232+
# - almalinux:8-minimal # glibc 2.28
233+
# - almalinux:9 # glibc 2.34
234+
# - almalinux:9-minimal # glibc 2.34
235+
# - almalinux:10 # glibc 2.39
236+
# - almalinux:10-minimal # glibc 2.39
237+
# - centos:6 # glibc 2.12
238+
# - centos:7 # glibc 2.17
239+
# - opensuse/leap:latest # glibc 2.38 (as of leap 15.6)
240+
# - opensuse/tumbleweed:latest # glibc 2.39 (as of 2024-07-19)
241+
# # - archlinux:latest # glibc 2.39 (as of 2024-07-19)
242+
# - alpine:3.2 # musl 1.1.11
243+
# - alpine:3.14 # musl 1.2.2
244+
# - alpine:3.15 # musl 1.2.2
245+
# - alpine:3.16 # musl 1.2.3
246+
# - alpine:3.17 # musl 1.2.3
247+
# - alpine:3.18 # musl 1.2.4
248+
# - alpine:3.19 # musl 1.2.4
249+
# - alpine:3.20 # musl 1.2.5
250+
# - alpine:3.21 # musl 1.2.5
251+
# - alpine:3.22 # musl 1.2.5
252+
# - alpine:3.23 # musl 1.2.5
253+
# # - openwrt/rootfs:x86-64-openwrt-24.10 # musl 1.2.5
254+
# runs-on: ubuntu-latest
255+
# timeout-minutes: 60
256+
# container: ${{ matrix.container }}
257+
# steps:
258+
# - name: Install requirements (old debian)
259+
# run: |
260+
# # In Debian, the old repositories is removed from the main mirrors some time after EoL.
261+
# codename=$(grep -E '^VERSION_CODENAME=' /etc/os-release | cut -d= -f2)
262+
# sed -i /etc/apt/sources.list -e 's/deb.debian.org/archive.debian.org/g' \
263+
# -e 's|security.debian.org|archive.debian.org/|g' \
264+
# -e "/${codename}-updates/d"
265+
# if: startsWith(matrix.container, 'debian:9') || startsWith(matrix.container, 'debian:10')
266+
# - name: Install requirements (centos)
267+
# run: |
268+
# # In CentOS, the old repositories is removed from the main mirrors just after EoL.
269+
# # https://github.com/rust-lang/rust/pull/126352
270+
# sed -i /etc/yum.repos.d/*.repo -e 's!^mirrorlist!#mirrorlist!' \
271+
# -e 's!^#baseurl=http://mirror.centos.org/!baseurl=https://vault.centos.org/!'
272+
# sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
273+
# if [[ "${CONTAINER}" == "centos:6" ]]; then
274+
# # CentOS 6's curl (7.19.7) has no curl has no --proto/--tlsv1.2.
275+
# yum install -y gcc openssl-devel
276+
# curl -fsSL --retry 10 https://curl.se/download/curl-7.34.0.tar.gz | tar xzf -
277+
# cd -- curl-*
278+
# ./configure --prefix=/usr/local --with-ssl
279+
# make
280+
# make install
281+
# # for checkout-action https://github.com/taiki-e/checkout-action/blob/v1.3.0/.github/workflows/ci.yml#L135-L143
282+
# yum install -y openssh-clients perl perl-Error perl-TermReadKey rsync
283+
# rpm -i \
284+
# https://vault.ius.io/el6/x86_64/packages/p/perl-Git18-1.8.5.5-4.ius.el6.noarch.rpm \
285+
# https://vault.ius.io/el6/x86_64/packages/g/git18-1.8.5.5-4.ius.el6.x86_64.rpm
286+
# fi
287+
# env:
288+
# CONTAINER: ${{ matrix.container }}
289+
# if: startsWith(matrix.container, 'centos')
290+
# - uses: taiki-e/checkout-action@v1
291+
# # cross attempts to install rust-src when Cargo.toml is available even if `cross --version`
292+
# - run: rm -- Cargo.toml
293+
# - name: Generate tool list
294+
# id: tool-list
295+
# run: tools/ci/tool-list.sh "" "${CONTAINER}" >>"${GITHUB_OUTPUT}"
296+
# env:
297+
# CONTAINER: ${{ matrix.container }}
298+
# # remove bash installed by checkout-action
299+
# - run: apk --no-cache del bash
300+
# shell: sh
301+
# if: startsWith(matrix.container, 'alpine')
302+
# - uses: ./
303+
# with:
304+
# tool: ${{ steps.tool-list.outputs.tool }}
305+
# env:
306+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
307+
# - name: Test bash
308+
# run: just --version && shfmt --version
309+
# shell: bash
310+
# # TODO: OCI runtime exec failed: exec failed: unable to start container process: exec: "bash": executable file not found in $PATH: unknown
311+
# if: (!startsWith(matrix.container, 'opensuse'))
312+
# - name: Test sh
313+
# run: just --version && shfmt --version
314+
# shell: sh
315+
# # TODO: OCI runtime exec failed: exec failed: unable to start container process: exec: "sh": executable file not found in $PATH: unknown
316+
# if: (!startsWith(matrix.container, 'opensuse'))

0 commit comments

Comments
 (0)