Skip to content
Snippets Groups Projects
  1. Jul 19, 2024
    • jkito's avatar
      cgo: set cgo compiler flags in backend.go · 09416b1d
      jkito authored and Pea Nut's avatar Pea Nut committed
      the C import line is recommended to be on a separate line
      this allows to use the comments in the lines preceeding it
      to setup various cpp compiler flags
      
      this also uses cgo comments to pass additional import dirs
      for the cpp compiler, these are needed for gopls to work
      09416b1d
    • jkito's avatar
      qt: pass char * to go functions from cpp helpers · 9d62d5e3
      jkito authored and Pea Nut's avatar Pea Nut committed
      instead of converting QString to GoString struct which is
      error prone, this changes SetTransport and UseLocation in
      backend.go to receive a char* as arg, which is  converted
      to Go string using the C.GoString helper
      
      this fixes a bug on macOS where changing preference options
      did not have any effect as the conversion of string was not
      working and empty values were passed to Go functions
      9d62d5e3
  2. Jul 17, 2024
  3. Jul 14, 2024
    • jkito's avatar
      ci: use env variable for the job build dir · f83380fc
      jkito authored
      this uses $CI_PROJECT_DIR instead of a hardcoded
      path for the project's build dir in the arch pkg
      job, the hardcoded path doesn't exist if job run
      is from a forked repo
      f83380fc
  4. Jul 13, 2024
  5. Jul 10, 2024
  6. Jul 05, 2024
  7. Jul 04, 2024
  8. Jul 01, 2024
  9. Jun 29, 2024
  10. Jun 27, 2024
  11. Jun 26, 2024
    • Pea Nut's avatar
      Document environment variables · 0b8bcc64
      Pea Nut authored and jkito's avatar jkito committed
      - document environment variables
      - add snap install instruction
      - standardize a bit
      - add PROVIDER= env to build instruction
      0b8bcc64
  12. Jun 25, 2024
  13. Jun 21, 2024
  14. Jun 20, 2024
    • jkito's avatar
      test: skip failing TestLatency in CI · c70427a1
      jkito authored
      the test is failing with the following error:
      ```
      --- FAIL: TestLatency (0.00s)
          integration_test.go:65:
              	Error Trace:	/builds/jkito/bitmask-vpn/pkg/vpn/menshen/integration_test.go:65
              	Error:      	Received unexpected error:
              	            	socket: permission denied
              	Test:       	TestLatency
              	Messages:   	Could not calc latency
      FAIL
      FAIL	0xacab.org/leap/bitmask-vpn/pkg/vpn/menshen	0.029s
      ```
      
      it is beacause of missing permissons, the pro-bing library attempts
      to send an "unprivileged" ping via UDP. On Linux, this must be enabled
      with a sysctl command
      c70427a1
    • jkito's avatar
      chore: remove commented jobs from .gitlab-ci.yaml · 6f863dcd
      jkito authored
      jobs that were failing were commented to make the CI green
      these have now been removed
      
      in the CI we want to make sure that the build works with provider
      branding and debian package builds correctly, which is now covered
      by the existing jobs: debian, build
      6f863dcd
    • jkito's avatar
      chore: fix artifact upload of build stage in gitlab ci · 42631e37
      jkito authored
      the whole build/qt/release directory needs to be uploaded to
      be able to download and run it
      
      this sets the artifact expiry time to 1 week to reduce storage
      consumption, 1 week should be sufficient as these artifacts are
      meant to be tested during development to validate a MR
      42631e37
Loading