Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-carlborg committed Dec 21, 2023
1 parent 1f60716 commit f3938b7
Showing 1 changed file with 58 additions and 55 deletions.
113 changes: 58 additions & 55 deletions .github/workflows/bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,40 +10,40 @@ on:
- master

jobs:
build_qemu_linux:
name: Build QEMU on Linux
runs-on: ubuntu-latest
container: alpine:3.18
steps:
- name: Clone Repository
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Install Ruby
run: apk add --no-cache ruby ruby-bundler ruby-minitest file

- name: Run CI Script
run: ./ci.rb

- name: Run Tests
run: ./test.rb

- name: Extract Version
id: version
if: startsWith(github.ref, 'refs/tags/v')
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}

- name: Create Release
id: create_release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
name: Resources ${{ steps.version.outputs.VERSION }}
draft: true
files: '*.tar'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# build_qemu_linux:
# name: Build QEMU on Linux
# runs-on: ubuntu-latest
# container: alpine:3.18
# steps:
# - name: Clone Repository
# uses: actions/checkout@v3
# with:
# persist-credentials: false
#
# - name: Install Ruby
# run: apk add --no-cache ruby ruby-bundler ruby-minitest file
#
# - name: Run CI Script
# run: ./ci.rb
#
# - name: Run Tests
# run: ./test.rb
#
# - name: Extract Version
# id: version
# if: startsWith(github.ref, 'refs/tags/v')
# run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
#
# - name: Create Release
# id: create_release
# if: startsWith(github.ref, 'refs/tags/v')
# uses: softprops/action-gh-release@v1
# with:
# name: Resources ${{ steps.version.outputs.VERSION }}
# draft: true
# files: '*.tar'
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

get_ovmf_uefi_file:
name: Get OVMF UEFI files
Expand Down Expand Up @@ -77,24 +77,27 @@ jobs:
path: /usr/share/OVMF/OVMF.fd
key: ovmf_file

- name: Run CI Script
run: ./ci.rb

- name: Run Tests
run: ./test.rb

- name: Extract Version
id: version
if: startsWith(github.ref, 'refs/tags/v')
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}

- name: Create Release
id: create_release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
name: Resources ${{ steps.version.outputs.VERSION }}
draft: true
files: '*.tar'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3

# - name: Run CI Script
# run: ./ci.rb
#
# - name: Run Tests
# run: ./test.rb
#
# - name: Extract Version
# id: version
# if: startsWith(github.ref, 'refs/tags/v')
# run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
#
# - name: Create Release
# id: create_release
# if: startsWith(github.ref, 'refs/tags/v')
# uses: softprops/action-gh-release@v1
# with:
# name: Resources ${{ steps.version.outputs.VERSION }}
# draft: true
# files: '*.tar'
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f3938b7

Please sign in to comment.