Skip to content

Commit

Permalink
Create mujs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eko5624 committed Feb 17, 2025
1 parent 7b8dff3 commit 0b7efec
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/mujs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: mujs
defaults:
run:
shell: D:\msys64\msys2.cmd {0}
on:
workflow_dispatch:
inputs:
compiler:
description: "Compiler"
required: false
default: "gcc"
type: choice
options:
- gcc
- clang
#schedule:
#- cron: '30 0 * * MON'

jobs:
mujs:
runs-on: windows-2022
env:
COMPILER: ${{ inputs.compiler }}
GH_TOKEN: ${{ secrets.BOT }}
steps:
- name: Prepare
run: git config --global core.autocrlf input
shell: bash
- name: Checkout
uses: actions/checkout@main
- name: Cache msys2
uses: actions/cache@main
with:
path: D:\msys64
key: msys2
- name: Cache ${{ inputs.compiler }} Toolchain
uses: actions/cache@main
with:
path: D:\ucrt64
key: ${{ inputs.compiler }}-ucrt-x86_64
- name: Setup Python
uses: actions/setup-python@main
with:
python-version: '3.12'
- name: Build
run: cd mujs; makepkg-$COMPILER
- name: Release
shell: bash
run: ./release-dev.sh mujs-dev mujs

0 comments on commit 0b7efec

Please sign in to comment.