Skip to content

Commit

Permalink
Merge pull request #31 from mooinglemur/20230306-r42changelog
Browse files Browse the repository at this point in the history
Update README R42 changelog, split out release history
  • Loading branch information
tomxp411 authored Mar 7, 2023
2 parents 6999222 + b1a01d3 commit 9565bd8
Show file tree
Hide file tree
Showing 3 changed files with 611 additions and 394 deletions.
200 changes: 190 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build Binaries
on: [push, pull_request]

jobs:
build-win64:
build-win64-debug:
runs-on: windows-latest
defaults:
run:
Expand Down Expand Up @@ -40,9 +40,9 @@ jobs:
cp latest_rom/*.sym emu_binaries/.
- uses: actions/upload-artifact@v3
with:
name: X16-Emu Windows 64-bit
name: X16-Emu Windows 64-bit (Debug)
path: emu_binaries/*
build-win32:
build-win32-debug:
runs-on: windows-latest
defaults:
run:
Expand Down Expand Up @@ -83,9 +83,9 @@ jobs:
cp latest_rom/*.sym emu_binaries/.
- uses: actions/upload-artifact@v3
with:
name: X16-Emu Windows 32-bit
name: X16-Emu Windows 32-bit (Debug)
path: emu_binaries/*
build-lin64:
build-lin64-debug:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -114,9 +114,9 @@ jobs:
cp latest_rom/*.sym emu_binaries/.
- uses: actions/upload-artifact@v3
with:
name: X16-Emu Linux 64-bit
name: X16-Emu Linux 64-bit (Debug)
path: emu_binaries/*
build-darwin-11-x64:
build-darwin-11-x64-debug:
# this is currently macos-11, Big Sur
runs-on: macos-11
steps:
Expand Down Expand Up @@ -147,9 +147,9 @@ jobs:
cp latest_rom/*.sym emu_binaries/.
- uses: actions/upload-artifact@v3
with:
name: X16-Emu MacOS 11 Big Sur Intel 64-bit
name: X16-Emu MacOS 11 Big Sur Intel 64-bit (Debug)
path: emu_binaries/*
build-darwin-12-x64:
build-darwin-12-x64-debug:
# this is currently macos-12, Monterey
runs-on: macos-12
steps:
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
cp latest_rom/*.sym emu_binaries/.
- uses: actions/upload-artifact@v3
with:
name: X16-Emu MacOS 12 Monterey Intel 64-bit
name: X16-Emu MacOS 12 Monterey Intel 64-bit (Debug)
path: emu_binaries/*
build-wasm:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -208,3 +208,183 @@ jobs:
with:
name: X16-Emu WebAssembly
path: emu_binaries/*
build-win64:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v3
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: make mingw-w64-x86_64-toolchain mingw-w64-x86_64-libelf mingw-w64-x86_64-SDL2
- name: Download latest ROM
id: download
run: |
gh run download -R X16Community/x16-rom -n "ROM Image" --dir latest_rom
shell: cmd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Copy ROM symbols
run: |
cp latest_rom/*.h src/.
- name: Build Emulator
run: |
CROSS_COMPILE_WINDOWS=1 SDL2CONFIG=sdl2-config make V=1 -j2
mkdir emu_binaries
cp $(which SDL2.dll) emu_binaries/.
cp $(which zlib1.dll) emu_binaries/.
cp sdcard.img.zip emu_binaries/.
cp x16emu.exe emu_binaries/.
cp makecart.exe emu_binaries/.
file emu_binaries/*
- name: Copy ROM
run: |
cp latest_rom/rom.bin emu_binaries/.
cp latest_rom/*.sym emu_binaries/.
- uses: actions/upload-artifact@v3
with:
name: X16-Emu Windows 64-bit
path: emu_binaries/*
build-win32:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v3
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: make mingw-w64-i686-toolchain mingw-w64-i686-libelf mingw-w64-i686-SDL2
path-type: inherit
- name: Add /mingw32/bin to path
run: echo "/mingw32/bin" >> $GITHUB_PATH
- name: Download latest ROM
id: download
run: |
gh run download -R X16Community/x16-rom -n "ROM Image" --dir latest_rom
shell: cmd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Copy ROM symbols
run: |
cp latest_rom/*.h src/.
- name: Build Emulator
run: |
WIN_SDL2=/mingw32 TARGET_CPU=x86 CROSS_COMPILE_WINDOWS=1 make V=1 -j2
mkdir emu_binaries
cp $(which SDL2.dll) emu_binaries/.
cp $(which zlib1.dll) emu_binaries/.
cp sdcard.img.zip emu_binaries/.
cp x16emu.exe emu_binaries/.
cp makecart.exe emu_binaries/.
file emu_binaries/*
- name: Copy ROM
run: |
cp latest_rom/rom.bin emu_binaries/.
cp latest_rom/*.sym emu_binaries/.
- uses: actions/upload-artifact@v3
with:
name: X16-Emu Windows 32-bit
path: emu_binaries/*
build-darwin-11-x64:
# this is currently macos-11, Big Sur
runs-on: macos-11
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: |
brew install make sdl2
- name: Download latest ROM
id: download
run: |
gh run download -R X16Community/x16-rom -n "ROM Image" --dir latest_rom
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Copy ROM symbols
run: |
cp latest_rom/*.h src/.
- name: Build Emulator
run: |
MAC_STATIC=1 LIBSDL_FILE=/usr/local/Cellar/sdl2/*/lib/libSDL2.a make V=1 -j3
mkdir emu_binaries
cp sdcard.img.zip emu_binaries/.
cp x16emu emu_binaries/.
cp makecart emu_binaries/.
file emu_binaries/*
- name: Copy ROM
run: |
cp latest_rom/rom.bin emu_binaries/.
cp latest_rom/*.sym emu_binaries/.
- uses: actions/upload-artifact@v3
with:
name: X16-Emu MacOS 11 Big Sur Intel 64-bit
path: emu_binaries/*
build-darwin-12-x64:
# this is currently macos-12, Monterey
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: |
brew install make sdl2
- name: Download latest ROM
id: download
run: |
gh run download -R X16Community/x16-rom -n "ROM Image" --dir latest_rom
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Copy ROM symbols
run: |
cp latest_rom/*.h src/.
- name: Build Emulator
run: |
MAC_STATIC=1 LIBSDL_FILE=/usr/local/Cellar/sdl2/*/lib/libSDL2.a make V=1 -j3
mkdir emu_binaries
cp sdcard.img.zip emu_binaries/.
cp x16emu emu_binaries/.
cp makecart emu_binaries/.
file emu_binaries/*
- name: Copy ROM
run: |
cp latest_rom/rom.bin emu_binaries/.
cp latest_rom/*.sym emu_binaries/.
- uses: actions/upload-artifact@v3
with:
name: X16-Emu MacOS 12 Monterey Intel 64-bit
path: emu_binaries/*
build-lin64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: sudo apt-get update && sudo apt-get install -y build-essential make libsdl2-dev
- name: Download latest ROM
id: download
run: |
gh run download -R X16Community/x16-rom -n "ROM Image" --dir latest_rom
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Copy ROM symbols
run: |
cp latest_rom/*.h src/.
- name: Build Emulator
run: |
make V=1 -j3
mkdir emu_binaries
cp sdcard.img.zip emu_binaries/.
cp x16emu emu_binaries/.
cp makecart emu_binaries/.
file emu_binaries/*
- name: Copy ROM
run: |
cp latest_rom/rom.bin emu_binaries/.
cp latest_rom/*.sym emu_binaries/.
- uses: actions/upload-artifact@v3
with:
name: X16-Emu Linux 64-bit
path: emu_binaries/*
Loading

0 comments on commit 9565bd8

Please sign in to comment.