Skip to content

Commit

Permalink
ci: fix just installation
Browse files Browse the repository at this point in the history
  • Loading branch information
pythops committed Nov 25, 2023
1 parent ee34f42 commit 0c3257f
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,16 @@ jobs:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@just
- name: Checkout
uses: actions/checkout@v4

- name: Install just
run: |
wget -qO- https://github.com/casey/just/releases/download/1.16.0/just-1.16.0-x86_64-unknown-linux-musl.tar.gz | tar -C /usr/local/bin/ -xzvf - just
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y podman qemu-user-static lrzip
sudo systemctl start systemd-binfmt.service
Expand All @@ -26,7 +31,7 @@ jobs:

- name: Build jetson image for Jetson nano revision 300
run: |
sudo -E just build-jetson-image \
sudo just build-jetson-image \
jetson-nano \
300
sudo mv jetson.img "jetson-nano-300_$UBUNTU_$BSP.img"
Expand All @@ -36,7 +41,7 @@ jobs:
- name: Build jetson image for Jetson nano revision 200
run: |
sudo -E just build-jetson-image \
sudo just build-jetson-image \
jetson-nano \
200
sudo mv jetson.img "jetson-nano-200_$UBUNTU_$BSP.img"
Expand All @@ -46,7 +51,7 @@ jobs:
- name: Build jetson image for Jetson nano 2G
run: |
sudo -E just build-jetson-image \
sudo just build-jetson-image \
jetson-nano-2gb
sudo mv jetson.img "jetson-nano-2gb_$UBUNTU_$BSP.img"
sudo lrzip "jetson-nano-2gb_$UBUNTU_$BSP.img"
Expand Down

0 comments on commit 0c3257f

Please sign in to comment.