public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/microsoft/heads/main)] Add a workflow to test current upstream gcc.
@ 2021-04-16 20:36 Eugene Rozenfeld
0 siblings, 0 replies; only message in thread
From: Eugene Rozenfeld @ 2021-04-16 20:36 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:a6ff5881b0236647f736b0ba5487c8c1b89e1b7f
commit a6ff5881b0236647f736b0ba5487c8c1b89e1b7f
Author: Eugene Rozenfeld <erozen@microsoft.com>
Date: Fri Nov 13 14:53:21 2020 -0800
Add a workflow to test current upstream gcc.
Diff:
---
.github/workflows/fetch-rebase-test.yaml | 41 ++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/.github/workflows/fetch-rebase-test.yaml b/.github/workflows/fetch-rebase-test.yaml
new file mode 100644
index 00000000000..85133ec749f
--- /dev/null
+++ b/.github/workflows/fetch-rebase-test.yaml
@@ -0,0 +1,41 @@
+name: fetch-rebase-test
+
+# Run this workflow every week
+on:
+ schedule:
+ - cron: "0 8 * * 0"
+ workflow_dispatch:
+
+jobs:
+ fetch-rebase-test:
+ runs-on: ubuntu-18.04
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
+ submodules: recursive
+ lfs: true
+ ref: current
+ - name: Add remote
+ run: |
+ git remote add gcc git://gcc.gnu.org/git/gcc.git
+ - name: Fetch
+ run: |
+ git fetch gcc master
+ - name: Rebase
+ run: |
+ git log gcc/master -1
+ git config --global user.email "erozen@microsoft.com"
+ git config --global user.name "Eugene Rozenfeld"
+ git rebase gcc/master
+ - name: Check commits
+ run: |
+ git status
+ git log -15
+
+ - name: Run build script
+ run: |
+ chmod +x .github/scripts/build-gcc.sh
+ .github/scripts/build-gcc.sh
+ shell: bash
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-16 20:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-16 20:36 [gcc(refs/vendors/microsoft/heads/main)] Add a workflow to test current upstream gcc Eugene Rozenfeld
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).