release fix #34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Install | |
| on: | |
| push: | |
| branches: ['*'] | |
| workflow_dispatch: | |
| jobs: | |
| ubuntu: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ubuntu | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - run: apt update -y | |
| - run: apt install wget sudo -y | |
| - run: ./install.sh | |
| - run: apt install shunit2 -y | |
| - run: ./test_version.sh | |
| fedora: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: fedora | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - run: dnf install wget sudo -y | |
| - run: ./install.sh | |
| - run: dnf install shunit2 -y | |
| - run: ./test_version.sh | |
| archlinux: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: archlinux | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - run: pacman -Sy wget sudo --noconfirm | |
| - run: ./install.sh | |
| - run: | | |
| curl -sLo /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2 | |
| chmod +x /usr/local/bin/shunit2 | |
| mkdir -p /usr/share/shunit2 | |
| ln -s /usr/local/bin/shunit2 /usr/share/shunit2/shunit2 | |
| # - run: cat Cargo.toml | |
| # - run: grep -E "^version" Cargo.toml | |
| # - run: grep -E "^version" Cargo.toml | cut -d "\"" -f 2 | |
| # - run: gpt-cli --version | |
| - run: ./test_version.sh | |
| opensuse: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: opensuse/tumbleweed | |
| steps: | |
| - run: zypper --non-interactive install wget sudo tar gzip xargs | |
| - uses: actions/checkout@v3 | |
| - run: ./install.sh | |
| - run: | | |
| curl -sLo /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2 | |
| chmod +x /usr/local/bin/shunit2 | |
| mkdir -p /usr/share/shunit2 | |
| ln -s /usr/local/bin/shunit2 /usr/share/shunit2/shunit2 | |
| - run: ./test_version.sh | |
| alpine: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: alpine | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - run: apk add wget sudo bash | |
| - run: ./install.sh | |
| - run: | | |
| wget -qO /usr/local/bin/shunit2 https://raw.githubusercontent.com/kward/shunit2/master/shunit2 | |
| chmod +x /usr/local/bin/shunit2 | |
| mkdir -p /usr/share/shunit2 | |
| ln -s /usr/local/bin/shunit2 /usr/share/shunit2/shunit2 | |
| - run: ./test_version.sh |