Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamer-coding committed Sep 14, 2024
1 parent 274edb9 commit 40cf120
Show file tree
Hide file tree
Showing 48 changed files with 3,466 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
builddir
.DS_Store
subprojects/**
.vscode/**
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Desktop (please complete the following information):**
- Host OS : `???`
- SKD Version: `???`
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Fossil XSDK Pull Request

## Description
<!-- Briefly describe the purpose and scope of this pull request. -->

## Testing
<!-- Describe the testing process or steps taken to ensure the changes work as expected. -->

## Checklist

- [ ] Code follows the project's coding standards.
- [ ] Tests have been added or updated to cover the changes.
- [ ] Documentation has been updated to reflect the changes.
- [ ] The code has been reviewed by team members.
- [ ] All checks and tests pass.
- [ ] The license header and notices are updated where necessary.

## License

This project is licensed under the Mozilla Public License - see the [LICENSE](LICENSE) file for details.
18 changes: 18 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Fossil XSDK Pull Request

## Description
<!-- Briefly describe the purpose and scope of this pull request. -->

## Testing
<!-- Describe the testing process or steps taken to ensure the changes work as expected. -->

## Checklist
- [ ] Code follows the project's coding standards.
- [ ] Tests have been added or updated to cover the changes.
- [ ] Documentation has been updated to reflect the changes.
- [ ] The code has been reviewed by team members.
- [ ] All checks and tests pass.
- [ ] The license header and notices are updated where necessary.

## License
This project is licensed under the Mozilla Public License - see the [LICENSE](LICENSE) file for details.
33 changes: 33 additions & 0 deletions .github/ciimage/Dockerfile.archlinux
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Use a specific Arch Linux base image
FROM archlinux:latest

# Set environment variables to avoid interaction
ENV TZ=UTC

# Update and install system dependencies
RUN pacman -Syu --noconfirm && \
pacman -S --noconfirm \
gcc \
clang \
gdb \
llvm \
rust \
cargo \
wget \
python \
python-pip \
git \
meson \
ninja && \
pacman -Scc --noconfirm

# Set environment variables
ENV CC=/usr/bin/clang
ENV CXX=/usr/bin/clang++
ENV LD_LIBRARY_PATH=/usr/local/lib

# Set working directory
WORKDIR /workspace

# Default command
CMD ["bash"]
42 changes: 42 additions & 0 deletions .github/ciimage/Dockerfile.debian
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Use a specific Debian base image
FROM debian:buster

# Set environment variables to avoid interaction
ENV DEBIAN_FRONTEND=noninteractive \
TZ=UTC

# Install system dependencies and clean up
RUN apt-get update && \
apt-get install -y \
build-essential \
clang \
gcc \
g++ \
gdb \
llvm \
gobjc \
gobjc++ \
libobjc-8-dev \
libstdc++-8-dev \
rustc \
cargo \
wget \
python3 \
python3-pip \
git && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Install Meson, Ninja, and Cython using pip
RUN python3 -m pip install --no-cache-dir meson ninja

# Set environment variables
ENV CC=/usr/bin/clang
ENV CXX=/usr/bin/clang++
ENV LD_LIBRARY_PATH=/usr/local/lib

# Set working directory
WORKDIR /workspace

# Default command
CMD ["bash"]
35 changes: 35 additions & 0 deletions .github/ciimage/Dockerfile.fedora
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Use a specific Fedora base image
FROM fedora:34

# Set environment variables to avoid interaction
ENV TZ=UTC

# Install system dependencies and clean up
RUN dnf -y update && \
dnf install -y \
gcc \
gcc-c++ \
clang \
gdb \
llvm \
rust \
cargo \
wget \
python3 \
python3-pip \
git && \
dnf clean all

# Install Meson and Ninja using pip
RUN python3 -m pip install --no-cache-dir meson ninja

# Set environment variables
ENV CC=/usr/bin/clang
ENV CXX=/usr/bin/clang++
ENV LD_LIBRARY_PATH=/usr/local/lib64

# Set working directory
WORKDIR /workspace

# Default command
CMD ["bash"]
37 changes: 37 additions & 0 deletions .github/ciimage/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Use a specific Ubuntu base image
FROM ubuntu:20.04

# Set environment variables to avoid interaction
ENV DEBIAN_FRONTEND=noninteractive \
TZ=UTC

# Install system dependencies and clean up
RUN apt-get update && \
apt-get install -y \
build-essential \
clang \
gcc \
g++ \
gdb \
llvm \
gobjc \
gobjc++ \
libobjc-10-dev \
libstdc++-10-dev \
rustc \
cargo \
dub \
wget \
python3 \
python3-pip \
git && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Install Meson, Ninja, and Cython using pip
RUN python3 -m pip install --no-cache-dir meson ninja

# Set environment variables
ENV CC=/usr/bin/gcc
ENV CXX=/usr/bin/g++
ENV LD_LIBRARY_PATH=/usr/local/lib
11 changes: 11 additions & 0 deletions .github/crossfiles/arm.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[binaries]
c = 'arm-linux-gnueabi-gcc'
cpp = 'arm-linux-gnueabi-g++'
ar = 'arm-linux-gnueabi-ar'
strip = 'arm-linux-gnueabi-strip'

[host_machine]
system = 'linux'
cpu_family = 'arm'
cpu = 'armv7'
endian = 'little'
11 changes: 11 additions & 0 deletions .github/crossfiles/arm64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[binaries]
c = 'aarch64-linux-gnu-gcc'
cpp = 'aarch64-linux-gnu-g++'
ar = 'aarch64-linux-gnu-ar'
strip = 'aarch64-linux-gnu-strip'

[host_machine]
system = 'linux'
cpu_family = 'aarch64'
cpu = 'aarch64'
endian = 'little'
11 changes: 11 additions & 0 deletions .github/crossfiles/mips.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[binaries]
c = 'mips-linux-gnu-gcc'
cpp = 'mips-linux-gnu-g++'
ar = 'mips-linux-gnu-ar'
strip = 'mips-linux-gnu-strip'

[host_machine]
system = 'linux'
cpu_family = 'mips'
cpu = 'mips'
endian = 'big'
11 changes: 11 additions & 0 deletions .github/crossfiles/mipsel.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[binaries]
c = 'mipsel-linux-gnu-gcc'
cpp = 'mipsel-linux-gnu-g++'
ar = 'mipsel-linux-gnu-ar'
strip = 'mipsel-linux-gnu-strip'

[host_machine]
system = 'linux'
cpu_family = 'mips'
cpu = 'mipsel'
endian = 'little'
11 changes: 11 additions & 0 deletions .github/crossfiles/ppc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[binaries]
c = 'powerpc-linux-gnu-gcc'
cpp = 'powerpc-linux-gnu-g++'
ar = 'powerpc-linux-gnu-ar'
strip = 'powerpc-linux-gnu-strip'

[host_machine]
system = 'linux'
cpu_family = 'ppc'
cpu = 'powerpc'
endian = 'big'
11 changes: 11 additions & 0 deletions .github/crossfiles/ppc64le.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[binaries]
c = 'powerpc64le-linux-gnu-gcc'
cpp = 'powerpc64le-linux-gnu-g++'
ar = 'powerpc64le-linux-gnu-ar'
strip = 'powerpc64le-linux-gnu-strip'

[host_machine]
system = 'linux'
cpu_family = 'ppc64'
cpu = 'ppc64le'
endian = 'little'
11 changes: 11 additions & 0 deletions .github/crossfiles/riscv64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[binaries]
c = 'riscv64-linux-gnu-gcc'
cpp = 'riscv64-linux-gnu-g++'
ar = 'riscv64-linux-gnu-ar'
strip = 'riscv64-linux-gnu-strip'

[host_machine]
system = 'linux'
cpu_family = 'riscv'
cpu = 'riscv64'
endian = 'little'
11 changes: 11 additions & 0 deletions .github/crossfiles/s390x.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[binaries]
c = 's390x-linux-gnu-gcc'
cpp = 's390x-linux-gnu-g++'
ar = 's390x-linux-gnu-ar'
strip = 's390x-linux-gnu-strip'

[host_machine]
system = 'linux'
cpu_family = 's390x'
cpu = 's390x'
endian = 'big'
11 changes: 11 additions & 0 deletions .github/crossfiles/sparc64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[binaries]
c = 'sparc64-linux-gnu-gcc'
cpp = 'sparc64-linux-gnu-g++'
ar = 'sparc64-linux-gnu-ar'
strip = 'sparc64-linux-gnu-strip'

[host_machine]
system = 'linux'
cpu_family = 'sparc64'
cpu = 'sparc64'
endian = 'big'
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Dependabot configuration file for GitHub Actions dependencies
version: 2

updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Update dependencies weekly
interval: "weekly"
# Set update time to early morning
time: "05:55"
Loading

0 comments on commit 40cf120

Please sign in to comment.