update workflow for 20.04 #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SuperTux | |
# Copyright (C) 2020-2021 Jacob Burroughs <maths22@gmail.com> | |
# 2020-2022 A. Semphris <semphris@protonmail.com> | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
# GNU General Public License for more details. | |
# | |
# You should have received a copy of the GNU General Public License | |
# along with this program. If not, see <https://www.gnu.org/licenses/>. | |
name: Ubuntu Touch | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
tags: | |
- '*' | |
pull_request: {} | |
jobs: | |
clickable: | |
strategy: | |
fail-fast: false | |
matrix: | |
build_type: [Debug, Release] | |
arch: [amd64, arm64, armhf] | |
# glbinding is missing as it isn't available on Ubuntu 16.04 | |
opengl: [ sdl ] | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# Fetch the whole tree so git describe works | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Build (no OpenGL) | |
if: ${{ matrix.opengl == 'sdl' }} | |
env: | |
BUILD_TYPE: ${{ (matrix.build_type == 'Debug') && '--debug' || '' }} | |
uses: tuxecure/clickable@v1 | |
with: | |
image: clickable/ci-20.04-${{ matrix.arch }} | |
run: clickable build --verbose ${BUILD_TYPE} --arch ${{ matrix.arch }} | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: "clickable-${{ matrix.arch }}-${{ matrix.build_type }}-${{ matrix.opengl }}-click" | |
path: build.clickable/*.click | |
if-no-files-found: ignore | |
#- name: Publish to Open Store | |
# if: ${{ github.ref == 'refs/heads/master' && matrix.build_type == 'Release' && matrix.opengl == 'sdl' }} | |
# env: | |
# ARCH: ${{ matrix.arch }} | |
# OPENSTORE_KEY: ${{ secrets.OPENSTORE_KEY }} | |
# run: | | |
# ~/.local/bin/clickable publish "* $(git log -1 --pretty=%B | \ | |
# head -1)" --apikey ${OPENSTORE_KEY} \ | |
# --arch ${ARCH} |