Skip to content

Commit

Permalink
Setup venv in CI build + remove calcrom invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
lhearachel committed Jan 2, 2025
1 parent fc0d33a commit 706bfe0
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@ on:

env:
LM_LICENSE_FILE: "${{ github.workspace }}/tools/cw/license.dat"
CALCROM_DISCORD_WEBHOOK_AVATAR_URL: "https://i.imgur.com/38BQHdd.png"
CALCROM_DISCORD_WEBHOOK_USERNAME: "OK"
CALCROM_WEBHOOK_URL: "${{ secrets.WEBHOOKURL }}"
BUILD: /var/tmp/pokeplatinum
WINEARCH: win32

jobs:
build:
permissions:
contents: write
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Install Software
run: |
Expand All @@ -29,8 +27,7 @@ jobs:
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/$(lsb_release -cs)/winehq-$(lsb_release -cs).sources
sudo dpkg --add-architecture i386
sudo apt-get update -y
sudo apt-get install -y --install-recommends python3-pip ninja-build winehq-stable binutils-arm-none-eabi gcc-arm-none-eabi flex bison
pip install --user meson pyelftools
sudo apt-get install -y --install-recommends python3-pip wine32:i386 binutils-arm-none-eabi gcc-arm-none-eabi flex bison
- name: Checkout Repo
uses: actions/checkout@v2
Expand All @@ -41,14 +38,6 @@ jobs:
- name: Build Repo
run: make check

- name: Webhook
if: ${{ github.event_name == 'push' }}
env:
arm9name: ${{ vars.BUILD }}
run: |
.github/calcrom/webhook.sh "$CALCROM_WEBHOOK_URL" "$BUILD"
continue-on-error: true

- name: Checkout xMAP
if: ${{ github.event_name == 'push' }}
uses: actions/checkout@v4
Expand Down

0 comments on commit 706bfe0

Please sign in to comment.