dosemu2/.github/workflows/ci-build.yml
geos_one 17bb5d7efa
Some checks failed
Build / build (push) Has been cancelled
New upstream version 2.0-0.9
2025-08-14 09:28:49 +02:00

47 lines
969 B
YAML

name: Build
on:
pull_request:
types:
- opened
- edited
- ready_for_review
- reopened
- synchronize
push:
jobs:
build:
if: contains(github.event.head_commit.message, '[skip ci]') == false
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: package install
run: ./ci_prereq.sh
- name: build
run: ./ci_build.sh
- name: cache binaries
uses: actions/cache@v2
env:
cache-name: test-binaries
with:
path: ~/cache
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
- name: test
id: test
run: ./ci_test.sh
- name: upload failure logs
if: ${{ always() && (steps.test.outcome == 'failure') }}
uses: actions/upload-artifact@v2
with:
name: failure-logs
path: test_*