Skip to content

Commit

Permalink
Rename branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ccmywish committed Dec 23, 2024
1 parent 2fed679 commit d498488
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linux-aarch64.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Linux AArch64 Build
on:
push:
branches: [ "gh-pipeline" ]
branches: [ "gh-build" ]
pull_request:
branches: [ "gh-pipeline" ]
branches: [ "gh-build" ]

jobs:
aarch64-linux-build-and-upload:
Expand All @@ -22,7 +22,7 @@ jobs:
apt-get install build-essential -y -q
apt-get install git -y -q
pwd ; ls -al
git clone https://github.com/RubyMetric/chsrc -b gh-pipeline -q
git clone https://github.com/RubyMetric/chsrc -b gh-build -q
cd chsrc
make CI CI_Build_Name=chsrc-aarch64-linux
cp ./chsrc-aarch64-linux /artifacts
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/linux-armv7.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Linux ARMv7 Build
on:
push:
branches: [ "gh-pipeline" ]
branches: [ "gh-build" ]
pull_request:
branches: [ "gh-pipeline" ]
branches: [ "gh-build" ]

jobs:
armv7-linu-build-and-upload:
Expand All @@ -22,7 +22,7 @@ jobs:
apt-get install build-essential -y -q
apt-get install git -y -q
pwd ; ls -al
git clone https://github.com/RubyMetric/chsrc -b gh-pipeline -q
git clone https://github.com/RubyMetric/chsrc -b gh-build -q
cd chsrc
make CI CI_Build_Name=chsrc-armv7-linux
cp ./chsrc-armv7-linux /artifacts
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/linux-riscv64.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Linux riscv64 Build
on:
push:
branches: [ "gh-pipeline" ]
branches: [ "gh-build" ]
pull_request:
branches: [ "gh-pipeline" ]
branches: [ "gh-build" ]

jobs:
riscv64-linux-build-and-upload:
Expand All @@ -22,7 +22,7 @@ jobs:
apt-get install build-essential -y -q
apt-get install git -y -q
pwd ; ls -al
git clone https://github.com/RubyMetric/chsrc -b gh-pipeline -q
git clone https://github.com/RubyMetric/chsrc -b gh-build -q
cd chsrc
make CI CI_Build_Name=chsrc-riscv64-linux
cp ./chsrc-riscv64-linux /artifacts
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux-x64.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Linux x64 Build
on:
push:
branches: [ "gh-pipeline" ]
branches: [ "gh-build" ]
pull_request:
branches: [ "gh-pipeline" ]
branches: [ "gh-build" ]

jobs:
x64-linux-build-and-upload:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: macOS Build
on:
push:
branches: [ "gh-pipeline" ]
branches: [ "gh-build" ]
pull_request:
branches: [ "gh-pipeline" ]
branches: [ "gh-build" ]

jobs:
build-and-upload-on-M1:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Windows Build
on:
push:
branches: [ "gh-pipeline" ]
branches: [ "gh-build" ]
pull_request:
branches: [ "gh-pipeline" ]
branches: [ "gh-build" ]

jobs:
build-and-upload:
Expand Down
2 changes: 1 addition & 1 deletion doc/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## 分支

- `gh-pipeline`:仅仅在发布版本时由 `@ccmywish` 推送,触发编译到 GitHub Releases 中
- `gh-build`:仅仅在发布版本时由 `@ccmywish` 推送,触发编译到 GitHub Releases 中
- `gh-site``chsrc.run` 的工作分支,由 `@ccmywish` 推送
- `main`: stable,代码一定是可以编译运行的,我们假设 end users 在其他条件都得不到二进制时,会自己编译这个分支来运行 `chsrc`
- `dev`:开发分支,工作分支,在此分支上解决冲突
Expand Down

0 comments on commit d498488

Please sign in to comment.