Skip to content

Added longer thumbnail ⚡ #38

Added longer thumbnail ⚡

Added longer thumbnail ⚡ #38

Workflow file for this run

name: release
on:
push:
branches:
- main
jobs:
# lint:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: goto-bus-stop/setup-zig@v2
# with:
# version: master
# - run: zig fmt --check src build.zig
test:
strategy:
matrix:
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: goto-bus-stop/setup-zig@v2
with:
version: master
- run: zig build test
build:
strategy:
matrix:
include:
- name: linux-x86_64
target: x86_64-linux
optimize: optimize=ReleaseFast
- name: windows-x86_64
target: x86_64-windows
optimize: optimize=ReleaseFast
- name: macos-aarch64
target: aarch64-macos
optimize: optimize=ReleaseFast
- name: macos-x86
target: x86_64-macos
optimize: optimize=ReleaseFast
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: goto-bus-stop/setup-zig@v2
with:
version: master
- name: zig build -D${{ matrix.optimize }} -Dtarget=${{ matrix.target }}
run: |
zig build -D${{ matrix.optimize }} -Dtarget=${{ matrix.target }}
- uses: actions/upload-artifact@v3
with:
name: entreepy #-${{ matrix.name }}
path: zig-out/bin/* #entreepy-${{ matrix.name }}
retention-days: 1
create-release:
needs: [test, build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- name: Creating release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create v1.1.0 -t "1.1.0" entreepy/entreepy*