Skip to content

Commit 431d334

Browse files
committed
update
1 parent 6dbb664 commit 431d334

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

.github/workflows/main.yml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
jobs:
1515
# This workflow contains a single job called "build"
1616
setup-sdk:
17-
runs-on: ubuntu-22.04
17+
runs-on: ubuntu-24.04
1818

1919
steps:
2020
- name: Cache sdk
@@ -27,7 +27,8 @@ jobs:
2727
md2hlp/**/*
2828
orix-software/**/*
2929
oricutron/**/*
30-
key: ${{ secrets.CACHE_ID }}-orix-sdk_
30+
bpm/**/*
31+
key: ${{ secrets.CACHE_ID }}-orix-sdk
3132

3233
- name: Checkout cc65
3334
if: steps.cache-sdk.outputs.cache-hit != 'true'
@@ -36,6 +37,13 @@ jobs:
3637
repository: cc65/cc65
3738
path: cc65
3839

40+
- name: Checkout bpm
41+
#if: steps.cache-sdk.outputs.cache-hit != 'true'
42+
uses: actions/checkout@v3
43+
with:
44+
repository: orix-software/bpm
45+
path: bpm
46+
3947
- name: Checkout orix-sdk
4048
if: steps.cache-sdk.outputs.cache-hit != 'true'
4149
uses: actions/checkout@v2
@@ -94,10 +102,11 @@ jobs:
94102
build:
95103
# The type of runner that the job will run on
96104
needs: setup-sdk
97-
runs-on: ubuntu-22.04
105+
runs-on: ubuntu-24.04
98106
outputs:
99107
version: ${{ steps.job_vars.outputs.VERSION }}
100108
repo_name: ${{ steps.job_vars.outputs.REPO_NAME }}
109+
bpm_found: ${{ steps.bpm_upload.outputs.BPM_FOUND }}
101110

102111
steps:
103112
- uses: actions/checkout@v2
@@ -123,8 +132,12 @@ jobs:
123132

124133
- name: Prepare environment for project
125134
run: |
135+
mkdir ~/bin
136+
cd bpm && pip install -r requirements.txt && cd ..
137+
# cp bpm/src/bpm ~/bin
138+
# chmod 755 ~/bin/bpm && export PATH=$PATH:~/bin
126139
ls -l && ls -l ../
127-
mv cc65 ../ && mv orix-software ../ && mv orix-sdk ../ && mv md2hlp ../
140+
mv cc65 ../ && mv orix-software ../ && mv orix-sdk ../ && mv md2hlp ../ && mv bpm ../
128141
129142
- name: Compile project
130143
run: CC65_HOME=${GITHUB_WORKSPACE}/../cc65 make
@@ -164,14 +177,15 @@ jobs:
164177
165178
upload:
166179
needs: build
167-
runs-on: ubuntu-22.04
180+
runs-on: ubuntu-24.04
168181
defaults:
169182
run:
170183
shell: bash
171184
env:
172185
hash: ${{ secrets.HASH }}
173186
version: ${{ needs.build.outputs.version }}
174187
repo_name: ${{ needs.build.outputs.repo_name }}
188+
BPM_FOUND: ${{ needs.build.outputs.bpm_found }}
175189

176190
steps:
177191
- name: Get branch name

0 commit comments

Comments
 (0)