-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (42 loc) · 1.3 KB
/
release-package.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Build release packages
on:
release:
types: ["published"]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
Cmake:
name: ${{ matrix.config.display_name }}
runs-on: ${{ matrix.config.runner }}
strategy:
fail-fast: false
matrix:
config:
-
display_name: "WATCOM 2.0 (2024-10-03)"
runner: "ubuntu-22.04"
shell: "bash"
watcom_version: "2.0"
watcom_tag: "2024-10-03-Build"
permissions:
contents: write
defaults:
run:
shell: ${{ matrix.config.shell }}
steps:
- uses: open-watcom/setup-watcom@v0
with:
version: ${{ matrix.config.watcom_version }}
tag: ${{ matrix.config.watcom_tag }}
- uses: actions/checkout@v4
- name: Configure & Build & Package
run: |
cmake --workflow --preset "ci-watcom-release"
- name: Upload Zip
shell: bash
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: |
gh release upload ${{ github.event.release.tag_name }} ./build/russian-doom-dos-${{ github.ref_name }}-i386.zip
gh release upload ${{ github.event.release.tag_name }} ./build/russian-doom-dos-${{ github.ref_name }}-i386.zip.sha256