-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Daniel OBrien
committed
Jan 30, 2024
1 parent
96389ef
commit e8cd5d1
Showing
1 changed file
with
18 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,19 +26,24 @@ jobs: | |
- name: Install dependencies | ||
run: yarn | ||
|
||
- name: Setup build environment | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 dbus xvfb libgtk-3-0 libnss3 libasound2 libgbm-dev | ||
sudo cp test/xvfb.init /etc/init.d/xvfb | ||
sudo chmod +x /etc/init.d/xvfb | ||
sudo update-rc.d xvfb defaults | ||
sudo service xvfb start | ||
sudo service dbus restart | ||
export $(dbus-launch) | ||
- name: Build | ||
run: yarn run vscode:prepublish | ||
# - name: Setup build environment | ||
# run: | | ||
# sudo apt-get update | ||
# sudo apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 dbus xvfb libgtk-3-0 libnss3 libasound2 libgbm-dev | ||
# sudo cp test/xvfb.init /etc/init.d/xvfb | ||
# sudo chmod +x /etc/init.d/xvfb | ||
# sudo update-rc.d xvfb defaults | ||
# sudo service xvfb start | ||
# sudo service dbus restart | ||
# export $(dbus-launch) | ||
|
||
- name: Setup xvfb | ||
uses: GabrielBB/[email protected] | ||
with: | ||
run: yarn run vscode:prepublish | ||
|
||
# - name: Build | ||
# run: yarn run vscode:prepublish | ||
|
||
- name: Test | ||
run: DISPLAY=:1 yarn test | ||
|