Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
nothing
  • Loading branch information
jinzhongjia committed Jan 1, 2024
1 parent d228199 commit c1ea07c
Show file tree
Hide file tree
Showing 5 changed files with 93 additions and 2 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# http://webui.me
# https://github.com/webui-dev/webui
# Copyright (c) 2020-2023 Hassan Draga.
# Licensed under MIT License.
# All rights reserved.
#
# Special Thanks to Turiiya (https://github.com/ttytm)

name: CI
on:
push:
paths-ignore: ['**/*.md']
pull_request:
branches: [main]
paths-ignore: ['**/*.md']

jobs:
windows:
uses: ./.github/workflows/windows.yml
permissions:
contents: write

macos:
uses: ./.github/workflows/macos.yml
permissions:
contents: write

linux:
uses: ./.github/workflows/linux.yml
permissions:
contents: write
20 changes: 20 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# http://webui.me
# https://github.com/webui-dev/webui
# Copyright (c) 2020-2023 Hassan Draga.
# Licensed under MIT License.
# All rights reserved.
#
# Special Thanks to Turiiya (https://github.com/ttytm)

name: Linux
on:
workflow_call:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: goto-bus-stop/setup-zig@v2
- name: build_examples
run: zig build build_all
20 changes: 20 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# http://webui.me
# https://github.com/webui-dev/webui
# Copyright (c) 2020-2023 Hassan Draga.
# Licensed under MIT License.
# All rights reserved.
#
# Special Thanks to Turiiya (https://github.com/ttytm)

name: macOS
on:
workflow_call:

jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: goto-bus-stop/setup-zig@v2
- name: build_examples
run: zig build build_all
20 changes: 20 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# http://webui.me
# https://github.com/webui-dev/webui
# Copyright (c) 2020-2023 Hassan Draga.
# Licensed under MIT License.
# All rights reserved.
#
# Special Thanks to Turiiya (https://github.com/ttytm)

name: Windows
on:
workflow_call:

jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: goto-bus-stop/setup-zig@v2
- name: build_examples
run: zig build build_all
4 changes: 2 additions & 2 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
.minimum_zig_version = "0.11.0",
.dependencies = .{
.webui = .{
.url = "https://github.com/webui-dev/webui/archive/main.tar.gz",
.hash = "1220f9952507a818cedc36d5c74893c5ab21b05392bf43f63afd12050fee0975cee5",
.url = "https://github.com/jinzhongjia/webui/archive/main.tar.gz",
.hash = "1220d4b5a9c49e9651c796f1f5a4277e7e4d8e4bdc0122eb98c366466849aa5ca0dd",
},
},
.paths = .{
Expand Down

0 comments on commit c1ea07c

Please sign in to comment.