Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change: [CI] switch to reusing workflows #31

Merged
merged 1 commit into from
Jul 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
154 changes: 0 additions & 154 deletions .github/workflows/publish.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Release

on:
release:
types:
- published
schedule:
- cron: '0 23 * * *'
workflow_dispatch:

jobs:
release:
name: Release
uses: OpenTTD/actions/.github/workflows/rw-entry-release-baseset.yml@v4
secrets: inherit
with:
apt-packages: catcodec
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the Makefile stuff is a pain to read (well I can say unreadable), but I don't see why music pack would use catcodec

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was already in the workflow, so I took it over. I tried not to make any actually changes in this migration, as that shouldn't be part of this PR, but of a follow-up. There are more weird things in these repositories ... can only do so much at once :D

name: openmsx
33 changes: 8 additions & 25 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,13 @@ on:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
name: Build OpenMSX
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Checkout tags
uses: openttd/actions/checkout@v1
with:
with-tags: true
- name: Install dependencies
run: |
set -e

sudo apt update
sudo apt install -y catcodec --no-install-recommends
- name: Build
run: |
set -e

make maintainer-clean
make bundle_tar bundle_src

testing:
name: Testing
uses: OpenTTD/actions/.github/workflows/rw-entry-testing-baseset.yml@v4
with:
apt-packages: catcodec
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

name: openmsx