Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
-- remove lithium gui launcher
-- add a cmd interface launcher
-- upgrade the database creator
-- add msys2 build github action
-- fix bugs in cobalt-web
-- rebase lithium-web, remove unnecessary files
-- add definition of the addon in README.md
  • Loading branch information
AstroAir committed Jan 24, 2024
1 parent b6f8723 commit 76dbcab
Show file tree
Hide file tree
Showing 107 changed files with 4,073 additions and 12,529 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:

steps:

- name: Get submodles
run: git submodule update --init --recursive

- name: Update the build system
run: sudo apt-get update && sudo apt-get upgrade -y

Expand Down Expand Up @@ -81,3 +84,8 @@ jobs:
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
64 changes: 64 additions & 0 deletions .github/workflows/windows-mingw.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: MinGW

on:
workflow_dispatch:
push:
branches:
- 'master'
pull_request:
branches:
- 'master'

env:
# Path to the solution file relative to the root of the project.
SOLUTION_FILE_PATH: .

# Configuration type to build.
# You can convert this to a build matrix if you need coverage of multiple configuration types.
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
BUILD_CONFIGURATION: Debug

permissions:
contents: read

jobs:
build:
runs-on: windows-latest

strategy:
matrix:
include:
- { sys: mingw64, env: x86_64 }

defaults:
run:
shell: msys2 {0}

steps:
- uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.sys}}
update: true
install: >-
mingw-w64-${{matrix.env}}-openssl
base-devel
mingw-w64-${{matrix.env}}-cmake
mingw-w64-${{matrix.env}}-gcc
mingw-w64-${{matrix.env}}-libnova
mingw-w64-${{matrix.env}}-dlfcn
mingw-w64-${{matrix.env}}-cfitsio
mingw-w64-${{matrix.env}}-fmt
mingw-w64-${{matrix.env}}-zlib
mingw-w64-${{matrix.env}}-libzip
zlib-devel
- name: Get INDI Sources
uses: actions/checkout@v3

- name: Build INDI Core
run: |
mkdir build
cd build
cmake .. -DINDI_BUILD_SERVER=OFF -DINDI_BUILD_DRIVERS=OFF
cmake --build .
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ Lithium
<img src="https://img.shields.io/badge/platform-Ubuntu-green">
</p>

[![Codacy Badge](https://app.codacy.com/project/badge/Grade/d3fed47a38e642a390d8ee506dc0acb3)](https://app.codacy.com/gh/ElementAstro/Lithium/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)


## Introduction

Lithium, a lively and lightweight astrophotography terminal.
Expand Down Expand Up @@ -195,7 +198,7 @@ pacman -S mingw-w64-x86_64-libnova
pacman -S make # 注意添加对应的目录,否则会当场爆炸
```

#### Ubuntu/Debian (不需要INDI库)
#### Ubuntu/Debian/Other Linux

```shell
sudo apt-get update && sudo apt-get upgrade -y
Expand Down
Loading

0 comments on commit 76dbcab

Please sign in to comment.