2024-07-16 07:41:54 +00:00
|
|
|
name: test
|
|
|
|
|
|
|
|
on: [workflow_dispatch]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
ubuntu_install:
|
|
|
|
name: Test installation on ${{ matrix.os }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
os: ["ubuntu-20.04", "ubuntu-22.04"]
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: check
|
|
|
|
run: |
|
|
|
|
pwd
|
|
|
|
ls
|
2024-07-16 07:44:32 +00:00
|
|
|
mkdir /opt/riscv
|
2024-07-16 07:43:21 +00:00
|
|
|
source setup.sh
|
|
|
|
echo $PATH
|
2024-07-16 07:41:54 +00:00
|
|
|
rhel_family_install:
|
|
|
|
name: Test installation on ${{ matrix.os }}
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
|
|
image: ${{ matrix.os }}
|
|
|
|
options: --privileged --mount type=bind,source=/,target=/host
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
os: ["rockylinux:8", "almalinux:8"]
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: check
|
|
|
|
run: |
|
|
|
|
pwd
|
|
|
|
ls
|
2024-07-16 07:44:32 +00:00
|
|
|
mkdir /opt/riscv
|
2024-07-16 07:43:21 +00:00
|
|
|
source setup.sh
|
|
|
|
echo $PATH
|