haxeui-core push: notification event should include actionData (if applicable) #1841
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: Build | |
on: [push, repository_dispatch] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
haxe-version: [3.4.7, 4.0.5, 4.1.5, 4.2.2] | |
target: [html5, linux] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup Haxe (haxe ${{ matrix.haxe-version }}, ${{ matrix.os }}) | |
uses: krdlab/setup-haxe@v1 | |
with: | |
haxe-version: ${{ matrix.haxe-version }} | |
- name: Setup app (haxe ${{ matrix.haxe-version }}, ${{ matrix.os }}) | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y ninja-build | |
sudo apt-get install -y libvulkan-dev | |
sudo apt-get install libxinerama-dev | |
sudo apt-get install libasound2-dev | |
sudo apt-get install mesa-common-dev | |
sudo apt-get install libgl-dev | |
sudo apt-get install libxi-dev | |
sudo apt-get install zip | |
sudo apt-get install libxrandr-dev | |
sudo apt-get install libudev-dev | |
sudo apt-get install libx11-dev | |
sudo apt-get install libxcursor-dev | |
sudo apt-get install libgl1-mesa-dev | |
sudo apt-get install libxkbcommon-dev | |
sudo apt-get install libwayland-dev | |
sudo apt-get install wayland-protocols | |
git clone --recursive --single-branch --depth=1 https://github.com/Kode/Kha.git | |
mkdir Libraries | |
cd Libraries | |
git clone --single-branch --depth=1 https://github.com/haxeui/haxeui-core.git | |
git clone --single-branch --depth=1 https://github.com/haxeui/haxeui-kha.git | |
cd .. | |
mkdir src | |
cd src | |
printf "package;\n\nclass Main {\npublic static function main() {\n}\n}" > Main.hx | |
cd .. | |
cp Libraries/haxeui-kha/.github/workflows/khafile.js khafile.js | |
- name: Build app (${{ matrix.target }}, haxe ${{ matrix.haxe-version }}, ${{ matrix.os }}) | |
run: | | |
node Kha/make ${{ matrix.target }} --compile |