Skip to content

Commit

Permalink
try to make an artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
partouf committed Oct 18, 2020
1 parent 1829014 commit e0d4706
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,22 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

# 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-latest

# 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

- name: Download Conan package manager.
run: |
./setup.sh
# Runs a single command using the runners shell
- name: Build
run: |
mkdir build
Expand All @@ -37,3 +27,7 @@ jobs:
- name: Test
run: |
$GITHUB_WORKSPACE/build/bin/asm-parser $GITHUB_WORKSPACE/resources/example_intel.asm > ./example_intel.json
- uses: actions/upload-artifact@v2
with:
path: build/bin/asm-parser

0 comments on commit e0d4706

Please sign in to comment.