Update README.md #83
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: Makefile CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Quick install libui-ng | |
run: | | |
sudo mkdir /usr/local/lib/x86_64-linux-gnu | |
sudo wget https://github.com/petabyt/libui-cross/releases/download/2/libui.so -O /usr/local/lib/x86_64-linux-gnu/libui.so | |
sudo wget https://raw.githubusercontent.com/libui-ng/libui-ng/master/ui.h -O /usr/local/include/ui.h | |
- name: Checkout submodules | |
run: git submodule update --init --recursive | |
- name: Install deps | |
run: sudo apt install libusb-1.0-0-dev gcc libgtk-3-dev | |
- name: Compile | |
run: make TARGET=l linux.out | |
# macOS-build: | |
# runs-on: macos-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# with: | |
# submodules: recursive | |
# | |
# - name: Checkout submodules | |
# run: git submodule update --init --recursive | |
# | |
# - uses: actions/checkout@v3 | |
# | |
# - name: Install dependencies | |
# run: brew install gtk+3 libusb | |
# | |
# - name: Build | |
# run: make unix-gtk |