public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/microsoft/heads/main)] Add a workflow to package 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:338f73599e862eee9e24733e0c7b0904c67b2267

commit 338f73599e862eee9e24733e0c7b0904c67b2267
Author: Eugene Rozenfeld <erozen@microsoft.com>
Date:   Thu Nov 5 18:53:05 2020 -0800

    Add a workflow to package gcc

Diff:
---
 .github/workflows/package.yaml | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml
new file mode 100644
index 00000000000..8bec4006c54
--- /dev/null
+++ b/.github/workflows/package.yaml
@@ -0,0 +1,29 @@
+name: package-gcc
+
+# Disable for now since packaging needs to run after the build.
+# Run this workflow on every new commit
+# on: [push]
+
+jobs:    
+  package:
+    runs-on: ubuntu-18.04
+    steps:
+      - name: checkout
+        uses: actions/checkout@v2
+        with:
+          fetch-depth: 0
+          submodules: recursive
+          lfs: true
+      
+     # This name step is needed for the Mariner build system because they look for the gcc-9.1.0 after the file is untarred  
+      - name: Rename gcc folder to gcc-9.1.0
+        run: mv gcc gcc-9.1.0
+          
+      - name: Package sources into tar
+        run: XZ_OPT=-e9T0 tar -cJf gcc-9.1.0.tar.xz gcc-9.1.0
+        shell: bash          
+      - name: upload artifact
+        uses: actions/upload-artifact@v2
+        with:
+          name: gccTar
+          path: gcc-9.1.0.tar.xz


^ 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 package 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).