summaryrefslogtreecommitdiff
path: root/Build/source/.github/workflows/main.yml
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2021-04-13 04:23:32 +0000
committerNorbert Preining <preining@logic.at>2021-04-13 04:23:32 +0000
commitf55f6a989af74429c90986195243b004eab58a1f (patch)
treee8d9204e16ae90eaee09cfa1c76bc6ebe1eaaa6d /Build/source/.github/workflows/main.yml
parent720bc0b2307134ac9a127e66650b083cc00f717f (diff)
add github action main.yml as a start
git-svn-id: svn://tug.org/texlive/trunk@58863 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/.github/workflows/main.yml')
-rw-r--r--Build/source/.github/workflows/main.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/Build/source/.github/workflows/main.yml b/Build/source/.github/workflows/main.yml
new file mode 100644
index 00000000000..9de9dc56ab3
--- /dev/null
+++ b/Build/source/.github/workflows/main.yml
@@ -0,0 +1,31 @@
+
+name: CI
+
+# Controls when the action will run.
+on:
+ # Triggers the workflow on push or pull request events but only for the trunk branch
+ push:
+ branches: [ trunk ]
+ pull_request:
+ branches: [ trunk ]
+
+ # Allows you to run this workflow manually from the Actions tab
+ workflow_dispatch:
+
+# A workflow run is made up of one or more jobs that can run sequentially or in parallel
+jobs:
+ # This workflow contains a single job called "build"
+ build:
+ # The type of runner that the job will run on
+ runs-on: ubuntu-16.04
+ env:
+ TL_MAKE_FLAGS: -j 2
+ steps:
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
+ - uses: actions/checkout@v2
+ - name: Full build
+ run: |
+ apt-get update
+ apt-get install -y --no-install-recommends bash gcc g++ make perl libfontconfig-dev libx11-dev libxmu-dev libxaw7-dev build-essential
+ cd $GITHUB_WORKSPACE ; ./Build -C
+