-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (38 loc) · 1.51 KB
/
autobuild.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
on:
push:
branches: ['main']
workflow_dispatch:
name: autobuild
permissions: {}
jobs:
autobuild:
name: autobuild
runs-on: ubuntu-latest
strategy:
matrix:
public_copy:
- name: "main"
url: https://raw.githubusercontent.com/javanile/mush/main/bin/mush
- name: "0.2.0"
url: https://github.com/javanile/mush/releases/download/0.2.0/mush
- name: "0.1.1"
url: https://github.com/javanile/mush/releases/download/0.1.1/mush
#- name: "0.1.0"
# url: https://github.com/javanile/mush/releases/download/0.1.0/mush
steps:
- uses: actions/checkout@v4
- run: curl -sL ${{ matrix.public_copy.url }} > public_copy && chmod +x public_copy && ./public_copy --version
- run: ./public_copy build && cp ./target/debug/mush debug0_copy
- run: ./public_copy build --release && cp ./bin/mush release0_copy
#- run: ./debug0_copy build && cp ./target/debug/mush debug1_copy
#- run: ./debug0_copy build --release && cp ./bin/mush debug2_copy
#- run: ./debug1_copy build
#- run: ./debug1_copy build --release
#- run: ./debug2_copy build
#- run: ./debug2_copy build --release
#- run: ./release0_copy build && cp ./target/debug/mush release1_copy
#- run: ./release0_copy build --release && cp ./bin/mush release2_copy
#- run: ./release1_copy build
#- run: ./release1_copy build --release
#- run: ./release2_copy build
#- run: ./release2_copy build --release