emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/csharp-mode 7f39946 351/459: Create build.yml


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode 7f39946 351/459: Create build.yml
Date: Sun, 22 Aug 2021 13:59:59 -0400 (EDT)

branch: externals/csharp-mode
commit 7f39946dd568d12dbda7f8b58d3a5eb083f9e8a0
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: GitHub <noreply@github.com>

    Create build.yml
    
    First attempt at a GitHub Actions template with a matrix!
---
 .github/workflows/build.yml | 55 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..382b6ca
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,55 @@
+# This is a basic workflow to help you get started with Actions
+
+name: Build & Test
+
+# Controls when the action will run. 
+on:
+  # Triggers the workflow on push or pull request events but only for the 
master branch
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+
+  # 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-xenial
+    name: Emacs - ${{ matrix.emacs }}
+    strategy: 
+      matrix:
+        emacs:
+        - emacs-24.4-travis
+        - emacs-24.5-travis
+        - emacs-25.1-travis
+        - emacs-25.2-travis
+        - emacs-25.3-travis
+        - emacs-26.1-travis-linux-xenial
+        - emacs-26.2-travis-linux-xenial
+        - emacs-26.3-travis-linux-xenial
+        - emacs-27.1-travis-linux-xenial
+        - emacs-git-snapshot-travis-linux-xenial
+
+    # Steps represent a sequence of tasks that will be executed as part of the 
job
+    steps:
+      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can 
access it
+      - uses: actions/checkout@v2
+
+      # Runs a single command using the runners shell
+      - name: Install EVM
+        run: curl -fsSkL 
https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh
+
+      - name: Install Emacs ${{ matrix.emacs }}
+        run: evm install $EVM_EMACS --use --skip
+
+      - name: Test cask
+        run: cask
+
+      - name: Run a multi-line script
+        run: |
+          emacs --version
+          make test



reply via email to

[Prev in Thread] Current Thread [Next in Thread]