Added GitHub Actions workflow for building Launch5j.
This commit is contained in:
parent
0a36344f49
commit
d86654dd11
54
.github/workflows/build-l5j.yml
vendored
Normal file
54
.github/workflows/build-l5j.yml
vendored
Normal file
@ -0,0 +1,54 @@
|
||||
name: "CI/CD"
|
||||
on:
|
||||
push:
|
||||
branches: ['**']
|
||||
pull_request:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build Launch5j
|
||||
runs-on: windows-2019
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- flavor: "x86"
|
||||
msystem: "MINGW32"
|
||||
toolchain: "i686"
|
||||
- flavor: "x64"
|
||||
msystem: "MINGW64"
|
||||
toolchain: "x86_64"
|
||||
steps:
|
||||
- uses: msys2/setup-msys2@v2
|
||||
with:
|
||||
msystem: ${{ matrix.msystem }}
|
||||
update: true
|
||||
install: mingw-w64-${{ matrix.toolchain }}-toolchain base-devel git
|
||||
- uses: actions/checkout@v4
|
||||
- shell: msys2 {0}
|
||||
run: make -B
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: launch5j-bin-${{ matrix.flavor }}
|
||||
path: bin/*.exe
|
||||
|
||||
docs:
|
||||
name: Generate Docs
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: docker://pandoc/core:2.9
|
||||
with:
|
||||
args: >-
|
||||
-f markdown-implicit_figures -t html5
|
||||
--standalone --ascii --toc --toc-depth=2
|
||||
--css="etc/css/gh-pandoc.css"
|
||||
-o "./README.html" "./README.yaml" "./README.md"
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: launch5j-doc
|
||||
path: |
|
||||
README.html
|
||||
etc/img/*.png
|
||||
etc/css/*.css
|
Loading…
Reference in New Issue
Block a user