Skip to content

Commit

Permalink
update ci base image to ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
ifurther committed Jan 13, 2024
1 parent ebc209e commit c5ecc94
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,30 @@ on:
jobs:
build:
name: Run build ${{ matrix.BUILDER }} ${{ matrix.ARCH }}
runs-on: macos-12
runs-on: ubuntu-latest
strategy:
matrix:
BUILDER: ['virtualbox-iso.virtualbox', 'qemu.qemu']
ARCH: ['x86_64']
steps:
- uses: actions/checkout@v3

- name: Install dependencies
if: ${{matrix.BUILDER == 'virtualbox-iso.virtualbox'}}
run: |
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list
wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo gpg --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg --dearmor
sudo apt-get update
sudo apt-get install -y virtualbox-6.1
- name: Install dependencies
if: ${{matrix.BUILDER == 'qemu.qemu'}}
run: |
sudo apt-get update
sudo apt-get install -y \
qemu-system-x86 \
qemu libvirt-daemon-system
- name: Create Vagrant Cloud Box
run: |
curl \
Expand Down

0 comments on commit c5ecc94

Please sign in to comment.