@@ -9,11 +9,11 @@ jobs: |
| 9 |
strategy: |
9 |
strategy: |
| 10 |
matrix: |
10 |
matrix: |
| 11 |
os: |
11 |
os: |
| 12 |
- ubuntu-22.04 |
12 |
- ubuntu-20.04 |
| 13 |
- macos-10.15 |
13 |
- macos-10.15 |
| 14 |
- windows-2019 |
14 |
- windows-2019 |
| 15 |
include: |
15 |
include: |
| 16 |
- os: ubuntu-22.04 |
16 |
- os: ubuntu-20.04 |
| 17 |
name: Linux |
17 |
name: Linux |
| 18 |
- os: macos-10.15 |
18 |
- os: macos-10.15 |
| 19 |
name: Mac |
19 |
name: Mac |
@@ -26,12 +26,18 @@ jobs: |
| 26 |
if: matrix.name == 'Linux' |
26 |
if: matrix.name == 'Linux' |
| 27 |
run: | |
27 |
run: | |
| 28 |
sudo apt -qq update |
28 |
sudo apt -qq update |
| 29 |
sudo apt install -yq lazarus libsdl2-dev bison |
29 |
sudo apt install -yq libsdl2-dev bison |
| 30 |
curl -Lo rgbds.tar.gz 'https://github.com/gbdev/rgbds/releases/download/v0.6.1/rgbds-0.6.1.tar.gz' |
30 |
curl -Lo rgbds.tar.gz 'https://github.com/gbdev/rgbds/releases/download/v0.6.1/rgbds-0.6.1.tar.gz' |
| 31 |
tar xvf rgbds.tar.gz rgbds/{include,src,Makefile} |
31 |
tar xvf rgbds.tar.gz rgbds/{include,src,Makefile} |
| 32 |
cd rgbds |
32 |
cd rgbds |
| 33 |
make -j4 rgbasm rgblink rgbfix Q= |
33 |
make -j4 rgbasm rgblink rgbfix Q= |
| 34 |
|
34 |
|
|
|
35 |
wget https://tenet.dl.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.2.6/lazarus-project_2.2.6-0_amd64.deb |
|
|
36 |
wget https://tenet.dl.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.2.6/fpc-laz_3.2.2-210709_amd64.deb |
|
|
37 |
wget https://tenet.dl.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.2.6/fpc-src_3.2.2-210709_amd64.deb |
|
|
38 |
|
|
|
39 |
sudo apt install -yq ./fpc-laz_3.2.2-210709_amd64.deb ./fpc-src_3.2.2-210709_amd64.deb ./lazarus-project_2.2.6-0_amd64.deb |
|
|
40 |
|
| 35 |
- name: Install macOS dependencies |
41 |
- name: Install macOS dependencies |
| 36 |
if: matrix.name == 'Mac' |
42 |
if: matrix.name == 'Mac' |
| 37 |
run: | |
43 |
run: | |