Skip to content

Commit

Permalink
WIP: Fix submodules?
Browse files Browse the repository at this point in the history
  • Loading branch information
strseb committed Nov 17, 2022
1 parent 60e95ce commit 46dd859
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 49 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/functional_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,8 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
with:
submodules: 'true'
- name: Install dependecies
if: steps.cache-build.outputs.cache-hit != 'true'
run: |
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/linters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v3

- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
with:
submodules: 'true'

- name: Set up Python 3
uses: actions/setup-python@v3
Expand Down
28 changes: 6 additions & 22 deletions .github/workflows/test_unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
submodules: 'true'

- name: Install dependences
run: |
Expand All @@ -32,13 +34,6 @@ jobs:
python3 -m pip install aqtinstall
aqt install-qt --outputdir /opt linux desktop $QTVERSION gcc_64 -m all
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Cache grcov
id: cache-grcov
uses: actions/cache@v3
Expand Down Expand Up @@ -96,14 +91,8 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
with:
submodules: 'true'
- name: Install python dependencies
shell: bash
run: |
Expand Down Expand Up @@ -177,13 +166,8 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
with:
submodules: 'true'

- name: Install Qt
shell: bash
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/wasm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,8 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
with:
submodules: 'true'

- name: Install Qt
shell: bash
Expand Down
6 changes: 3 additions & 3 deletions src/featureslist.h
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ FEATURE_SIMPLE(gleanRust, // Feature ID

FEATURE_SIMPLE(sentry, // Feature ID
"Sentry Crash Report SDK", // Feature name
"2.13.0", // released
FeatureCallback_false, // Can be flipped on
FeatureCallback_false, // Can be flipped off
"2.12.0", // released
FeatureCallback_true, // Can be flipped on
FeatureCallback_true, // Can be flipped off
QStringList(), // feature dependencies
FeatureCallback_inStaging)
2 changes: 1 addition & 1 deletion src/mozillavpn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#include "websocket/websockethandler.h"

#ifdef SENTRY_ENABLED
#include "sentry/sentryadapter.h"
# include "sentry/sentryadapter.h"
#endif

#ifdef MVPN_IOS
Expand Down
4 changes: 2 additions & 2 deletions src/networkrequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ class NetworkRequest final : public QObject {

static NetworkRequest* createForFxaSessionDestroy(
Task* parent, const QByteArray& sessionToken);

static NetworkRequest* createForSentry(Task* parent,
const QByteArray& envelope);
const QByteArray& envelope);

static NetworkRequest* createForProducts(Task* parent);

Expand Down

0 comments on commit 46dd859

Please sign in to comment.