Skip to content

Commit

Permalink
Use GitHub Actions, not Cirrus, for non-FreeBSD releases.
Browse files Browse the repository at this point in the history
The GitHub Releases page is just a bit easier for end-users to handle.
  • Loading branch information
Screwtapello committed Jun 8, 2023
1 parent 9bf1b33 commit 9003743
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 154 deletions.
100 changes: 0 additions & 100 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,3 @@
linux-x86_64-binaries_task:
container:
image: ubuntu:latest

setup_script:
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential curl libgtk2.0-dev libpulse-dev mesa-common-dev libgtksourceview2.0-dev libcairo2-dev libsdl2-dev libxv-dev libao-dev libopenal-dev libudev-dev zip

matrix:
- build_higan_script:
- make -C higan-ui build=performance local=false
- make -C icarus

package_higan_script:
- mkdir higan-nightly
- cp -a higan-ui/out/higan higan-nightly/higan
- cp -a higan/System higan-nightly
- cp -a icarus/out/icarus higan-nightly/icarus
- cp -a icarus/Database higan-nightly
- cp -a icarus/Firmware higan-nightly
- cp -a GPLv3.txt higan-nightly
- cp -a extras/* higan-nightly
- zip -r higan-nightly.zip higan-nightly

matrix:
- only_if: $CIRRUS_RELEASE != ""
environment:
OS: linux-x86_64
GITHUB_TOKEN: ENCRYPTED[7a134a5ab55ae4be1e91c44040969d89e5f4017e2d71f4f03fbde21e136085b6f366c33e0bbcc2d2c6d23914a149aa66]
upload_script: ./.cirrus.upload.sh
- only_if: $CIRRUS_RELEASE == ""

higan-nightly_artifacts:
path: "higan-nightly.zip"

freebsd-x86_64-binaries_task:
freebsd_instance:
image_family: freebsd-12-2
Expand Down Expand Up @@ -65,69 +31,3 @@ freebsd-x86_64-binaries_task:

higan-nightly_artifacts:
path: "higan-nightly.zip"

windows-x86_64-binaries_task:
container:
image: ubuntu:latest

setup_script:
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential curl mingw-w64 zip

matrix:
- build_higan_script:
- make -C higan-ui build=performance local=false platform=windows compiler="x86_64-w64-mingw32-g++" windres="x86_64-w64-mingw32-windres"
- make -C icarus platform=windows compiler="x86_64-w64-mingw32-g++" windres="x86_64-w64-mingw32-windres"

package_higan_script:
- mkdir higan-nightly
- cp -a higan-ui/out/higan.exe higan-nightly/higan.exe
- cp -a icarus/out/icarus.exe higan-nightly/icarus.exe
- cp -a higan/System higan-nightly/Templates
- mkdir higan-nightly/Systems
- cp -a icarus/Database higan-nightly
- cp -a icarus/Firmware higan-nightly
- cp -a GPLv3.txt higan-nightly
- cp -a extras/* higan-nightly
- zip -r higan-nightly.zip higan-nightly

matrix:
- only_if: $CIRRUS_RELEASE != ""
environment:
OS: windows-x86_64
GITHUB_TOKEN: ENCRYPTED[7a134a5ab55ae4be1e91c44040969d89e5f4017e2d71f4f03fbde21e136085b6f366c33e0bbcc2d2c6d23914a149aa66]
upload_script: ./.cirrus.upload.sh
- only_if: $CIRRUS_RELEASE == ""

higan-nightly_artifacts:
path: "higan-nightly.zip"

macOS-x86_64-binaries_task:
osx_instance:
image: mojave-base

matrix:
- build_higan_script:
- make -C higan-ui build=performance local=false
- make -C icarus

package_higan_script:
- mkdir higan-nightly
- cp -a higan-ui/out/higan.app higan-nightly
- cp -a higan/System higan-nightly
- cp -a icarus/out/icarus.app higan-nightly
- cp -a icarus/Database higan-nightly
- cp -a icarus/Firmware higan-nightly
- cp -a GPLv3.txt higan-nightly
- cp -a extras/* higan-nightly
- zip -r higan-nightly.zip higan-nightly

matrix:
- only_if: $CIRRUS_RELEASE != ""
environment:
OS: macOS-x86_64
GITHUB_TOKEN: ENCRYPTED[7a134a5ab55ae4be1e91c44040969d89e5f4017e2d71f4f03fbde21e136085b6f366c33e0bbcc2d2c6d23914a149aa66]
upload_script: ./.cirrus.upload.sh
- only_if: $CIRRUS_RELEASE == ""

higan-nightly_artifacts:
path: "higan-nightly.zip"
58 changes: 4 additions & 54 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,60 +33,10 @@ Nightly Builds
Automated, untested builds of higan are available
for each supported operating system:

<table>
<tr>
<th scope=row>Windows</th>
<td>
<a href="https://api.cirrus-ci.com/v1/artifact/github/higan-emu/higan/windows-x86_64-binaries/higan-nightly/higan-nightly.zip">
higan
</a>
</td>
<td>
<img
src="https://api.cirrus-ci.com/github/higan-emu/higan.svg?task=windows-x86_64-binaries"
alt="">
</td>
</tr>
<tr>
<th scope=row>Linux</th>
<td>
<a href="https://api.cirrus-ci.com/v1/artifact/github/higan-emu/higan/linux-x86_64-binaries/higan-nightly/higan-nightly.zip">
higan
</a>
</td>
<td>
<img
src="https://api.cirrus-ci.com/github/higan-emu/higan.svg?task=linux-x86_64-binaries"
alt="">
</td>
</tr>
<tr>
<th scope=row>macOS</th>
<td>
<a href="https://api.cirrus-ci.com/v1/artifact/github/higan-emu/higan/macOS-x86_64-binaries/higan-nightly/higan-nightly.zip">
higan
</a>
</td>
<td>
<img
src="https://api.cirrus-ci.com/github/higan-emu/higan.svg?task=macOS-x86_64-binaries"
alt="">
</td>
</tr>
<tr>
<th scope=row>FreeBSD</th>
<td>
<a href="https://api.cirrus-ci.com/v1/artifact/github/higan-emu/higan/freebsd-x86_64-binaries/higan-nightly/higan-nightly.zip">
higan
</a>
</td>
<td>
<img
src="https://api.cirrus-ci.com/github/higan-emu/higan.svg?task=freebsd-x86_64-binaries"
alt="">
</td>
</tr>
</table>
- [Windows](https://github.com/Screwtapello/higan/releases/download/nightly/higan-windows.zip)
- [macOS](https://github.com/Screwtapello/higan/releases/download/nightly/higan-macos.zip)
- [Ubuntu Linux](https://github.com/Screwtapello/higan/releases/download/nightly/higan-ubuntu.zip)
- [FreeBSD](https://api.cirrus-ci.com/v1/artifact/github/higan-emu/higan/freebsd-x86_64-binaries/higan-nightly/higan-nightly.zip)

Preview
-------
Expand Down

0 comments on commit 9003743

Please sign in to comment.