Skip to content

test workflow bin build #4

test workflow bin build

test workflow bin build #4

Workflow file for this run

name: wtri-linux
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# haxe:
# - latest
# - 4.3.3
steps:
- uses: actions/checkout@v3
- name: Install haxe
uses: krdlab/setup-haxe@v1.5.1
with:
haxe-version: 4.3.3
- name: Install haxelibs
run: |
haxelib dev wtri .
haxelib install haxelib.json
haxelib install hashlink
haxelib install hxcpp
haxelib git hxargs https://github.com/Simn/hxargs
haxelib git om.core https://github.com/omlib/om.core
haxelib git om.http https://github.com/omlib/om.http
- name: Install hashlink
run: |
sudo apt install libpng-dev libturbojpeg-dev libvorbis-dev libopenal-dev libsdl2-dev libmbedtls-dev libuv1-dev libsqlite3-dev libglfw3-dev libgl1-mesa-dev libglu1-mesa-dev
git clone https://github.com/HaxeFoundation/hashlink
cd hashlink
make
sudo make install
- name: Build c
run: haxe wtri.hxml -hl out/main.c
- name: Build bin
run: make
- name: Store
uses: actions/upload-artifact@v3
with:
name: wtri
path: wtri