ref: 80a62a8a03fc252b68c59b110879b2694693e991
parent: bbe28faab4f6dce29fe820450c425d255546cfbb
author: ISSOtm <[email protected]>
date: Sat Oct 1 14:25:36 EDT 2022
Update CI target OSes Remove platforms deprecated by GitHub Actions Add new platforms supported by the same
--- a/.github/workflows/create-release-artifacts.yaml
+++ b/.github/workflows/create-release-artifacts.yaml
@@ -6,7 +6,7 @@
jobs:
windows:
- runs-on: windows-2019
+ runs-on: windows-2022
steps:
- uses: actions/checkout@v2
- name: Get version from tag
--- a/.github/workflows/create-release-docs.yml
+++ b/.github/workflows/create-release-docs.yml
@@ -7,7 +7,7 @@
jobs:
build:
if: github.repository_owner == 'gbdev'
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-22.04
steps:
- name: Checkout rgbds@release
uses: actions/checkout@v2
@@ -18,17 +18,10 @@
with:
repository: ${{ github.repository_owner }}/rgbds-www
path: rgbds-www
- # `-O toc` was added in 1.14.5, but the repos only have 1.14.4
- - name: Build and install mandoc + install groff
+ - name: Install groff and mandoc
run: |
sudo apt-get -qq update
- sudo apt-get install -yq groff zlib1g-dev
- wget 'http://mandoc.bsd.lv/snapshots/mandoc-1.14.6.tar.gz'
- tar xf mandoc-1.14.6.tar.gz
- cd mandoc-1.14.6
- ./configure
- make
- sudo make install
+ sudo apt-get install -yq groff mandoc
- name: Update pages
working-directory: rgbds/man
run: | # The ref appears to be in the format "refs/tags/<version>", so strip that
--- a/.github/workflows/testing.yml
+++ b/.github/workflows/testing.yml
@@ -7,7 +7,7 @@
unix-testing:
strategy:
matrix:
- os: [ubuntu-20.04, ubuntu-18.04, macos-11.0, macos-10.15]
+ os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12]
cc: [gcc, clang]
buildsys: [make, cmake]
exclude:
@@ -64,6 +64,7 @@
strategy:
matrix:
bits: [32, 64]
+ os: [windows-2019, windows-2022]
include:
- bits: 32
arch: x86
@@ -72,7 +73,7 @@
arch: x86_x64
platform: x64
fail-fast: false
- runs-on: windows-2019
+ runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Get zlib, libpng and bison
@@ -149,7 +150,6 @@
strategy:
matrix:
bits: [32, 64]
- os: [ubuntu-18.04]
include:
- bits: 32
arch: i686
@@ -158,7 +158,7 @@
arch: x86-64
triplet: x86_64-w64-mingw32
fail-fast: false
- runs-on: ${{ matrix.os }}
+ runs-on: ubuntu-latest
env:
DIST_DIR: win${{ matrix.bits }}
steps:
@@ -205,9 +205,10 @@
needs: windows-xbuild
strategy:
matrix:
+ os: [windows-2019, windows-2022]
bits: [32, 64]
fail-fast: false
- runs-on: windows-2019
+ runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Retrieve binaries
--- a/.github/workflows/update-master-docs.yml
+++ b/.github/workflows/update-master-docs.yml
@@ -17,7 +17,7 @@
jobs:
build:
if: github.repository_owner == 'gbdev'
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-22.04
steps:
- name: Checkout rgbds@master
uses: actions/checkout@v2
@@ -31,16 +31,10 @@
repository: gbdev/rgbds-www
ref: master
path: rgbds-www
- - name: Build and install mandoc + install groff
+ - name: Install groff and mandoc
run: |
sudo apt-get -qq update
- sudo apt-get install -yq groff zlib1g-dev
- wget 'http://mandoc.bsd.lv/snapshots/mandoc-1.14.6.tar.gz'
- tar xf mandoc-1.14.6.tar.gz
- cd mandoc-1.14.6
- ./configure
- make
- sudo make install
+ sudo apt-get install -yq groff mandoc
- name: Update pages
working-directory: rgbds/man
run: |