tad more progress on literal numerics #119
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: draft | |
# Mostly from https://jon.sprig.gs/blog/post/2442 | |
# Create a draft release on every push. | |
on: | |
push: | |
jobs: | |
build_release: | |
name: Build Release | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
include: | |
- os: ubuntu-latest | |
release_suffix: ubuntu | |
- os: macos-latest | |
release_suffix: mac | |
- os: windows-latest | |
release_suffix: windows | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Mac build environment | |
if: matrix.os == 'macos-latest' | |
run: | | |
brew install gawk | |
- name: Setup Windows build environment | |
if: matrix.os == 'windows-latest' | |
run: | | |
choco install -y winflexbison3 | |
choco install -y xxd | |
- name: Compile, verify, and create archives | |
run: | | |
make check artifacts | |
- name: Machine dependent file upload | |
uses: softprops/action-gh-release@v2 | |
with: | |
name: draftbuild | |
draft: true | |
prerelease: false | |
generate_release_notes: false | |
files: | | |
bin-*.tar.gz | |
cfiles-*.tar.gz | |
- name: Source code upload | |
if: matrix.os == 'ubuntu-latest' | |
uses: softprops/action-gh-release@v2 | |
with: | |
name: draftbuild | |
draft: true | |
prerelease: false | |
generate_release_notes: false | |
files: | | |
tokenize.tar.gz | |
cfiles.tar.gz | |