Skip to content

Commit

Permalink
Added missing env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-jonsson committed Nov 11, 2024
1 parent fb3693e commit 4b57328
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/rpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,27 @@ jobs:
- name: Inject slug/short variables
uses: rlespinasse/[email protected]

- name: Setup
- name: Setup Environment
run: |
sudo apt-get update
sudo apt-get install cppcheck gcc-arm-none-eabi
curl -L -o butler.zip https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default && unzip butler.zip -d butler
#curl -L -o premake5.tar.gz https://github.com/premake/premake-core/releases/download/v5.0.0-beta2/premake-5.0.0-beta2-linux.tar.gz && mkdir premake5 && tar -xf premake5.tar.gz -C premake5
curl -L -o premake5.tar.gz https://github.com/premake/premake-core/releases/download/v5.0.0-beta2/premake-5.0.0-beta2-linux.tar.gz && mkdir premake5 && tar -xf premake5.tar.gz -C premake5
echo "${GITHUB_WORKSPACE}/butler" >> $GITHUB_PATH
#echo "${GITHUB_WORKSPACE}/premake5" >> $GITHUB_PATH
echo "${GITHUB_WORKSPACE}/premake5" >> $GITHUB_PATH
- name: Setup Circle
run: |
curl -L -o circle.zip https://github.com/virtualxt/circle/archive/refs/heads/master.zip && unzip circle.zip
cd circle-master
./configure -r 3 --c++17 -f
./makeall
cd ${GITHUB_WORKSPACE}
#- name: Test & Check
# run: |
# premake5 check
# make clean test
- name: Test & Check
run: |
premake5 check
make test
make clean
- name: Build
run: |
Expand All @@ -52,7 +54,9 @@ jobs:
make -C "${GITHUB_WORKSPACE}/front/rpi"
- name: Package
run: ./tools/package/itch/package.rasberrypi.sh
run: |
export CIRCLEHOME="${GITHUB_WORKSPACE}/circle-master"
./tools/package/itch/package.rasberrypi.sh
- name: Deploy
env:
Expand Down

0 comments on commit 4b57328

Please sign in to comment.