But still call functions with C calling convention. #91
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
name: DlangUI builds | |
on: push | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- triple: 'x86_64-linux-gnu' | |
target: 'linux' | |
# Requires zlib to link. | |
# - triple: 'aarch64-linux-gnu' | |
# target: 'linux' | |
- triple: 'x86_64-windows-msvc' | |
target: 'windows' | |
- triple: 'x86_64-apple-darwin' | |
target: 'macos' | |
- triple: 'arm64-apple-macos' | |
target: 'macos' | |
name: Build DLangUI for ${{ matrix.triple }} | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Update APT repos | |
run: sudo apt-get update | |
- name: Set-up D compiler | |
uses: ./.github/actions/setup-d-compiler | |
with: | |
target-triple: ${{ matrix.triple }} | |
- name: Write version file | |
uses: ./.github/actions/write-version-file | |
- name: Build | |
run: dub build -b release-debug --compiler=ldc2 --arch ${{ matrix.triple }} :dlangui-frontend | |
- name: Move files around for artifcation | |
uses: ./.github/actions/rename-files | |
with: | |
build-tag: dlangui-${{ matrix.triple }} | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: sideloader-dlangui-${{ matrix.triple }} | |
path: | | |
${{github.workspace}}/bin/* |