2022-11-02 01:00:07 +00:00
|
|
|
---
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- "master"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
"build-roms":
|
|
|
|
runs-on: "ubuntu-latest"
|
|
|
|
steps:
|
2022-11-02 01:08:39 +00:00
|
|
|
- name: "Prepare runner"
|
2022-11-02 01:00:07 +00:00
|
|
|
run: |
|
|
|
|
set -x
|
2022-11-02 01:08:39 +00:00
|
|
|
sudo apt-get update -qqqq
|
|
|
|
sudo apt-get upgrade -qqqq
|
|
|
|
sudo apt-get install -qqqq xa65
|
2022-11-02 01:22:54 +00:00
|
|
|
m4 --version
|
|
|
|
xa --version
|
|
|
|
ldo65 --version
|
|
|
|
reloc65 --version
|
2022-11-02 01:00:07 +00:00
|
|
|
|
|
|
|
- uses: "actions/checkout@v3"
|
|
|
|
|
2022-11-02 01:08:39 +00:00
|
|
|
- name: "Build artifacts"
|
2022-11-02 01:00:07 +00:00
|
|
|
run: |
|
|
|
|
set -x
|
|
|
|
cd rom
|
|
|
|
make
|
2022-11-02 01:08:39 +00:00
|
|
|
ls -l *.a65
|
|
|
|
|
|
|
|
- uses: "actions/upload-artifact@v3"
|
|
|
|
with:
|
2022-11-02 01:12:29 +00:00
|
|
|
name: "epple2-roms"
|
|
|
|
path: "./rom/*.a65"
|
2022-11-02 01:22:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"build-epple2-ubuntu":
|
|
|
|
runs-on: "ubuntu-latest"
|
|
|
|
steps:
|
|
|
|
- name: "Prepare runner"
|
|
|
|
run: |
|
|
|
|
set -x
|
|
|
|
sudo apt-get update -qqqq
|
|
|
|
sudo apt-get upgrade -qqqq
|
|
|
|
sudo apt-get install -qqqq libsdl2-dev
|
|
|
|
|
|
|
|
- uses: "actions/checkout@v3"
|
|
|
|
|
|
|
|
- name: "Build"
|
|
|
|
run: |
|
|
|
|
set -x
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake ..
|
|
|
|
cmake --build .
|
|
|
|
ls -l src conf
|
2022-11-02 01:39:40 +00:00
|
|
|
cat conf/epple2.a2ploaded.conf
|
2022-11-02 01:27:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"build-epple2-macos":
|
|
|
|
runs-on: "macos-latest"
|
|
|
|
steps:
|
|
|
|
- name: "Prepare runner"
|
|
|
|
run: |
|
|
|
|
set -x
|
|
|
|
HOMEBREW_NO_AUTO_UPDATE=1 brew install sdl2
|
|
|
|
|
|
|
|
- uses: "actions/checkout@v3"
|
|
|
|
|
|
|
|
- name: "Build"
|
|
|
|
run: |
|
|
|
|
set -x
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake ..
|
|
|
|
cmake --build .
|
|
|
|
ls -l src conf
|
2022-11-02 01:39:40 +00:00
|
|
|
cat conf/epple2.a2ploaded.conf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"build-epple2-windows":
|
|
|
|
runs-on: "windows-latest"
|
|
|
|
steps:
|
|
|
|
- uses: "actions/checkout@v3"
|
|
|
|
|
2022-11-02 16:58:35 +00:00
|
|
|
- name: "Download SDL2 package"
|
2022-11-02 17:34:02 +00:00
|
|
|
run: 'Invoke-WebRequest -Uri "https://github.com/libsdl-org/SDL/releases/download/release-2.24.2/SDL2-devel-2.24.2-VC.zip" -OutFile "C:/Program Files/SDL2-devel-VC.zip"'
|
2022-11-02 03:40:46 +00:00
|
|
|
|
2022-11-02 16:58:35 +00:00
|
|
|
- name: "Install SDL2"
|
2022-11-02 18:00:03 +00:00
|
|
|
run: 'Expand-Archive -LiteralPath "C:/Program Files/SDL2-devel-VC.zip" -DestinationPath "C:/Program Files/"'
|
|
|
|
|
|
|
|
- name: "ls of C:/Program Files"
|
|
|
|
run: 'Get-ChildItem "C:/Program Files"'
|
2022-11-02 05:57:46 +00:00
|
|
|
|
2022-11-02 01:39:40 +00:00
|
|
|
- name: "Build"
|
2022-11-02 04:00:40 +00:00
|
|
|
shell: "bash"
|
2022-11-02 01:39:40 +00:00
|
|
|
run: |
|
2022-11-02 16:58:35 +00:00
|
|
|
set -x
|
2022-11-02 01:39:40 +00:00
|
|
|
mkdir build
|
2022-11-02 16:58:35 +00:00
|
|
|
cd build
|
|
|
|
cmake ..
|
|
|
|
cmake --build .
|
|
|
|
ls -l src conf
|
|
|
|
cat conf/epple2.a2ploaded.conf
|