100% banish submodules (use package manager)
Helps hexops/mach#902 Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
d1c1335a57
commit
22528fafd2
4 changed files with 2 additions and 45 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -23,8 +23,6 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- name: Setup Zig
|
||||
run: |
|
||||
sudo apt install xz-utils
|
||||
|
|
@ -54,8 +52,6 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- name: Setup Zig
|
||||
run: |
|
||||
$ProgressPreference = 'SilentlyContinue'
|
||||
|
|
@ -73,8 +69,6 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- name: Setup Zig
|
||||
run: |
|
||||
brew uninstall --ignore-dependencies libx11 # https://github.com/ziglang/zig/issues/11066
|
||||
|
|
|
|||
6
.github/workflows/m1_ci.yml
vendored
6
.github/workflows/m1_ci.yml
vendored
|
|
@ -20,14 +20,8 @@ jobs:
|
|||
run:
|
||||
shell: '/usr/bin/arch -arch arm64e /bin/bash --noprofile --norc -eo pipefail {0}'
|
||||
steps:
|
||||
- name: Clean repository submodules
|
||||
# See https://github.com/actions/checkout/issues/385
|
||||
run: |
|
||||
rm -rf $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- name: test
|
||||
run: zig build test
|
||||
- name: build
|
||||
|
|
|
|||
31
.github/workflows/update_examples.yml
vendored
31
.github/workflows/update_examples.yml
vendored
|
|
@ -1,31 +0,0 @@
|
|||
name: Update examples
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
publish:
|
||||
if: github.repository_owner == 'hexops'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout hexops/mach-examples repo
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: hexops/mach-examples
|
||||
token: ${{ secrets.HEXOPS_MACH_PUSH_SUBREPOS }}
|
||||
submodules: 'true'
|
||||
- name: 'mach-examples: update mach submodule'
|
||||
run: |
|
||||
cd libs/mach
|
||||
git checkout origin/main
|
||||
cd ../../
|
||||
- name: 'mach-examples: push submodule update'
|
||||
run: |
|
||||
git config user.name 'Release automation'
|
||||
git config user.email 'stephen@hexops.com'
|
||||
git add .
|
||||
git commit -m 'libs: mach: update to latest main revision'
|
||||
git push -u origin HEAD
|
||||
|
|
@ -17,9 +17,9 @@ Written in [Zig](https://ziglang.org/), Mach is for creating games, graphical ap
|
|||
## Cross-platform graphics in ~60 seconds
|
||||
|
||||
```sh
|
||||
git clone --recursive https://github.com/hexops/mach-examples
|
||||
git clone https://github.com/hexops/mach-examples
|
||||
cd mach-examples/
|
||||
zig build run-core-boids
|
||||
zig build run-sprite2d
|
||||
```
|
||||
|
||||
Cross-platform graphics, a unified shader language & compute shaders.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue