Skip to content

Commit

Permalink
Setup test run on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
jigar-f committed Dec 3, 2024
1 parent 93f45df commit d982e36
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 11 deletions.
38 changes: 30 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@ on:
push:
branches:
- main
- jigar/setup-test-suite
# pull_request:
# branches:
# - main
pull_request:
branches:
- main

env:
GOPRIVATE: github.com/getlantern


jobs:
test-suite:
runs-on: ubuntu-latest-16-cores
runs-on: ${{ matrix.os }}
# runs-on: ubuntu-latest-16-cores
strategy:
matrix:
os: [ubuntu-latest-16-cores, windows-latest]
concurrency:
group: test-ci-${{ github.ref }}
cancel-in-progress: true
# runs-on: macos-13-large
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -106,6 +107,17 @@ jobs:
if: runner.os == 'linux'
uses: seanmiddleditch/gha-setup-ninja@master

- name: Install WebView2 Runtime
if: matrix.platform == 'windows'
shell: pwsh
run: |
Invoke-WebRequest -Uri "https://go.microsoft.com/fwlink/p/?LinkId=2124703" -OutFile "MicrosoftEdgeWebView2Setup.exe"
Start-Process -FilePath ".\MicrosoftEdgeWebView2Setup.exe" -ArgumentList "/silent", "/install" -Wait
- name: Set up MinGW
if: matrix.platform == 'windows'
run: choco install mingw -y

- name: Build Libraries
run: |
make android ANDROID_ARCH=all
Expand All @@ -119,6 +131,11 @@ jobs:
fi
make ffigen
- name: Running workflow test for windows
run: make windowsDesktopTest
if: runner.os == 'windows'
timeout-minutes: 60

- name: Running widget tests
run: make widget-tests

Expand All @@ -138,4 +155,9 @@ jobs:
run: |
sudo systemctl start dbus
sudo systemctl start NetworkManager
make linuxDesktopTest
make linuxDesktopTest
# - name: Running workflow test for windows
# run: make windowsDesktopTest
# if: runner.os == 'windows'
# timeout-minutes: 60
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Lantern App
[![Go Actions Status](https://github.com/getlantern/android-lantern/actions/workflows/go.yml/badge.svg)](https://github.com/getlantern/android-lantern/actions/workflows/go.yml) [![Coverage Status](https://coveralls.io/repos/github/getlantern/android-lantern/badge.svg?t=C4SaZX)](https://coveralls.io/github/getlantern/android-lantern)[![Publish releases](https://github.com/getlantern/lantern-client/actions/workflows/release.yml/badge.svg)](https://github.com/getlantern/lantern-client/actions/workflows/release.yml)
Lantern APP is an app that uses
the [VpnService](https://developer.android.com/reference/android/net/VpnService) API to intercept
and reroute all device traffic to the Lantern circumvention tool.

Lantern APP is an app that uses the [VpnService](https://developer.android.com/reference/android/net/VpnService) API to intercept and reroute all device traffic to the Lantern circumvention tool.

## Feature: Replica Mobile

Expand Down

0 comments on commit d982e36

Please sign in to comment.