diff --git a/.github/workflows/rockyInstall.yml b/.github/workflows/rockyInstall.yml index e01ea855f..cd4c324ee 100644 --- a/.github/workflows/rockyInstall.yml +++ b/.github/workflows/rockyInstall.yml @@ -6,16 +6,17 @@ jobs: install: name: Test installation on Rocky 9 runs-on: ubuntu-latest - defaults: - run: - shell: bash - + container: + image: rockylinux:8 + options: --privileged --mount type=bind, source=/, target=/ steps: - - run: df -h - - name: free up storage - run: sudo rm -rf /usr/local/lib/android - - run: docker run -ia rockylinux:8 + - name: check distro + run: cat /etc/os-release - run: dnf install -y sudo + - name: free up storage + run: | + df -h + sudo rm -rf /usr/local/lib/android - uses: actions/checkout@v4 - name: install run: ./bin/wally-tool-chain-install.sh diff --git a/.github/workflows/rockytest.yml b/.github/workflows/rockytest.yml deleted file mode 100644 index 03fda22ae..000000000 --- a/.github/workflows/rockytest.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Rocky Linux 8 Workflow - -on: [workflow_dispatch] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: parent os - run: cat /etc/os-release - - name: docker os - uses: docker://rockylinux:8 - with: - entrypoint: /bin/bash - args: cat /etc/os-release \ No newline at end of file